cWait (3) - Linux Man Pages
cWait: wait a condition variable signal.
cWait - wait a condition variable signal.
NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex);
ARGUMENTScond - condition variable to wait on.
mutex - locked mutex to protect <cond>.
DESCRIPTIONWaits for a signal on condition variable <cond>. The mutex <mutex> must be locked by the thread.