#include <oskit/threads/pthread.h>int pthread_sleep(oskit_s64_t milliseconds);
The calling thread is put to sleep for the number of milliseconds specified. The thread cannot be woken up until the given amount of time has passed, although the thread may be canceled with pthread_cancel
- milliseconds
- The number of milliseconds the thread should sleep for.
Returns zero on success.
pthread_cancel