From 33f058f0e67357543c0b1619f4f45779d054a6bf Mon Sep 17 00:00:00 2001 From: Jonathan McCrohan Date: Sun, 19 Feb 2012 23:17:53 +0000 Subject: Remove debug/testing files. --- select.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 select.c (limited to 'select.c') diff --git a/select.c b/select.c deleted file mode 100644 index 47351f9..0000000 --- a/select.c +++ /dev/null @@ -1,25 +0,0 @@ -#include -#include -#include - -volatile unsigned int variable = 0; - -int main() -{ - struct timeval tv; - int val; - - for (;;) - { - tv.tv_sec = 1; - tv.tv_usec = 0; - - do - { - val = select(0, NULL, NULL, NULL, &tv); - } while (val != 0 && errno == EINTR); - - printf("Variable = %u\n", ++variable); - } -} - -- cgit v1.2.3