Lines Matching refs:cond
12 int cnd_broadcast(cnd_t *cond) in cnd_broadcast() argument
14 switch (pthread_cond_broadcast(cond)) { in cnd_broadcast()
22 void cnd_destroy(cnd_t *cond) in cnd_destroy() argument
24 (void)pthread_cond_destroy(cond); in cnd_destroy()
27 int cnd_init(cnd_t *cond) in cnd_init() argument
29 switch (pthread_cond_init(cond, NULL)) { in cnd_init()
39 int cnd_signal(cnd_t *cond) in cnd_signal() argument
41 switch (pthread_cond_signal(cond)) { in cnd_signal()
51 int cnd_timedwait(cnd_t *restrict cond, mtx_t *restrict mtx, const struct timespec *restrict ts) in cnd_timedwait() argument
53 switch (pthread_cond_timedwait(cond, mtx, ts)) { in cnd_timedwait()
63 int cnd_wait(cnd_t *cond, mtx_t *mtx) in cnd_wait() argument
65 switch (pthread_cond_wait(cond, mtx)) { in cnd_wait()