Lines Matching defs:wait
64 cond_t *wait;
72 * queues can operate in one of two modes: timed-wait, and infinite
73 * wait. The timeout parameter specifies which of these modes should
78 cond_t *wait;
91 if (!(wait = calloc(1, sizeof (*wait)))) {
96 (void) cond_init(wait, NULL, NULL);
107 q->wait = wait;
138 (void) cond_signal(q->wait);
163 (void) cond_signal(q->wait);
203 /* something's in the q, so no need to wait */
207 /* else wait */
210 err = cond_timedwait(q->wait, q->lock, to);
212 err = cond_wait(q->wait, q->lock);
258 (void) cond_destroy(q->wait);
260 free(q->wait);