#include <oskit/threads/pthread.h>int oskit_pthread_wakeup(pthread_t tid);
Wakeup a thread that is sleeping in oskit_pthread_sleep, causing it to return from its sleep before the timeout expires.
- tid
- The thread to wakeup.
Returns zero on success. EINVAL if tid specifies an invalid thread or the current thread.
oskit_pthread_sleep