Lines Matching defs:cv
226 _thr_ucond_init(struct ucond *cv)
228 bzero(cv, sizeof(struct ucond));
232 _thr_ucond_wait(struct ucond *cv, struct umutex *m,
241 return _umtx_op_err(cv, UMTX_OP_CV_WAIT, flags,
246 _thr_ucond_signal(struct ucond *cv)
248 if (!cv->c_has_waiters)
250 return _umtx_op_err(cv, UMTX_OP_CV_SIGNAL, 0, NULL, NULL);
254 _thr_ucond_broadcast(struct ucond *cv)
256 if (!cv->c_has_waiters)
258 return _umtx_op_err(cv, UMTX_OP_CV_BROADCAST, 0, NULL, NULL);