Replaced sleep() with pause().
authorFlorian Pose <fp@igh-essen.com>
Tue, 14 Oct 2008 08:39:09 +0000
changeset 1261 72e04173691f
parent 1260 9a43991c2115
child 1262 3c462a0dbf3c
Replaced sleep() with pause().
examples/user/main.c
--- a/examples/user/main.c	Fri Oct 10 09:56:32 2008 +0000
+++ b/examples/user/main.c	Tue Oct 14 08:39:09 2008 +0000
@@ -374,7 +374,7 @@
 
     printf("Started.\n");
 	while (1) {
-        sleep(1); // always interrupted by SIGALRM
+        pause();
 
 #if 0
         struct timeval t;