]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/timing/test_synch.c
timing: clean-up of clock_gettime ipoint, mutex added
[eurobot/public.git] / src / timing / test_synch.c
index 57deec1d16c25cf2d808d84e6e3509db0d2b1c60..05140800a10424448569f8d0b78d5f8b8ba0ab3c 100644 (file)
@@ -45,7 +45,7 @@ void *thread_function( void *ptr )
 //     for(i=0; i<500; i++) {
        while(1){
                timing_ipoint(*id);
-               usleep(10);
+               usleep(1000);
        }
         return NULL;
 }