cWait (3) Linux Manual Page
cWait – wait a condition variable signal.
Synopsis
#include <util/ulocks.h>
NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex);
Arguments
cond – condition variable to wait on.mutex – locked mutex to protect <cond>.
Description
Waits for a signal on condition variable <cond>. The mutex <mutex> must be locked by the thread.MT-Level: Safe.
