Lines Matching defs:cv
249 _thr_ucond_init(struct ucond *cv)
251 bzero(cv, sizeof(struct ucond));
255 _thr_ucond_wait(struct ucond *cv, struct umutex *m,
264 return _umtx_op_err(cv, UMTX_OP_CV_WAIT, flags,
269 _thr_ucond_signal(struct ucond *cv)
271 if (!cv->c_has_waiters)
273 return _umtx_op_err(cv, UMTX_OP_CV_SIGNAL, 0, NULL, NULL);
277 _thr_ucond_broadcast(struct ucond *cv)
279 if (!cv->c_has_waiters)
281 return _umtx_op_err(cv, UMTX_OP_CV_BROADCAST, 0, NULL, NULL);