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