#include <oskit/threads/pthread.h>int pthread_suspend(pthread_t tid);
Suspend the specified thread indefinitely. The thread may be resumed with pthread_resume or it may be canceled with pthread_cancel.
- tid
- The thread identifier of the thread to be suspended
Returns zero on success. EINVAL if tid specifies an invalid thread.
pthread_resume