X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/30e0627bbfc12ce4ebeacfda720bc52e95feb22c..8344f32ee2339f2b53a6e79ac0e9aa3a93384f58:/src/sthread/sthread.h diff --git a/src/sthread/sthread.h b/src/sthread/sthread.h index f0a9117db1..4a518667f8 100644 --- a/src/sthread/sthread.h +++ b/src/sthread/sthread.h @@ -63,7 +63,8 @@ int sthread_sem_trywait(sthread_sem_t* sem); int sthread_sem_timedwait(sthread_sem_t* sem, const struct timespec* abs_timeout); int sthread_gettimeofday(struct timeval* tv); -void sthread_sleep(double seconds); +unsigned int sthread_sleep(double seconds); +int sthread_usleep(double seconds); int sthread_access_begin(void* objaddr, const char* objname, const char* file, int line, const char* function); void sthread_access_end(void* objaddr, const char* objname, const char* file, int line, const char* function);