Lines Matching refs:cond
103 cnd_broadcast(cnd_t *cond)
105 assert(cond != NULL);
106 return (pthread_cond_broadcast(cond) == 0) ? thrd_success : thrd_error;
111 cnd_destroy(cnd_t *cond)
113 assert(cond);
114 pthread_cond_destroy(cond);
119 cnd_init(cnd_t *cond)
121 assert(cond != NULL);
122 return (pthread_cond_init(cond, NULL) == 0) ? thrd_success : thrd_error;
127 cnd_signal(cnd_t *cond)
129 assert(cond != NULL);
130 return (pthread_cond_signal(cond) == 0) ? thrd_success : thrd_error;
135 cnd_timedwait(cnd_t *cond, mtx_t *mtx, const struct timespec *abs_time)
140 assert(cond != NULL);
143 rt = pthread_cond_timedwait(cond, mtx, abs_time);
151 cnd_wait(cnd_t *cond, mtx_t *mtx)
154 assert(cond != NULL);
155 return (pthread_cond_wait(cond, mtx) == 0) ? thrd_success : thrd_error;