Lines Matching defs:cond
83 cnd_broadcast(cnd_t *cond)
85 assert(cond != NULL);
86 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error;
91 cnd_destroy(cnd_t *cond)
93 assert(cond);
94 pthread_cond_destroy(cond);
99 cnd_init(cnd_t *cond)
101 assert(cond != NULL);
102 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error;
107 cnd_signal(cnd_t *cond)
109 assert(cond != NULL);
110 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error;
115 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time)
120 assert(cond != NULL);
123 rt = pthread_cond_timedwait(cond, mtx, abs_time);
131 cnd_wait(cnd_t *cond, mtx_t *mtx)
134 assert(cond != NULL);
135 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error;