X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=c%2Fpthread_extra%2Fpthread_extra.h;h=56c440b5f03751c8c0792a3412b8308b8a8d7a9c;hb=0b8d006aa72c56eff1368c6c69b09547c455a5ed;hp=4df45d97eb6b29d3fed4398035a31756e4cf5fc0;hpb=9b4be8e8c190f7734a7611c2f354e2616e0f2c2f;p=mirrors%2FPrograms.git diff --git a/c/pthread_extra/pthread_extra.h b/c/pthread_extra/pthread_extra.h index 4df45d9..56c440b 100644 --- a/c/pthread_extra/pthread_extra.h +++ b/c/pthread_extra/pthread_extra.h @@ -56,6 +56,12 @@ int pthread_unpause_all(); int pthread_pause_reschedule(pthread_t thread); int pthread_extra_yield(); +// Pause compatible sleeps + +void pthread_nanosleep(struct timespec t); +void pthread_nsleep(time_t s, long ns); +void pthread_sleep(time_t s); + // Message queues //Flags