1cWait(3) util/ulocks.h cWait(3)
2
3
4
6 cWait - wait a condition variable signal.
7
9 #include <util/ulocks.h>
10
11
12 NEOERR *cWait(pthread_cond_t *cond, pthread_mutex_t *mutex);
13
14
15
16
18 cond - condition variable to wait on.
19 mutex - locked mutex to protect <cond>.
20
21
23 Waits for a signal on condition variable <cond>. The mutex <mutex>
24 must be locked by the thread.
25
26 MT-Level: Safe.
27
28
30 None.
31
32
34 mCreate(3), fCreate(3), mUnlock(3), fUnlock(3), cBroadcast(3), cSig‐
35 nal(3), fFind(3), cDestroy(3), cCreate(3), mDestroy(3), cWait(3),
36 fLock(3), fDestroy(3), mLock
37
38
39
40ClearSilver 12 July 2007 cWait(3)