Lines Matching refs:chan
133 * on chan, at which time the process
154 caddr_t chan,
184 ut->uu_wchan = chan;
187 if (mtx != NULL && chan != NULL && (thread_continue_t)continuation == THREAD_CONTINUE_NULL) {
199 wait_result = lck_mtx_sleep_deadline(mtx, flags, chan, catch, abstime);
201 wait_result = lck_mtx_sleep(mtx, flags, chan, catch);
204 if (chan != NULL)
205 assert_wait_deadline(chan, catch, abstime);
309 void *chan,
312 return _sleep((caddr_t)chan, pri, (char *)NULL, 0, (int (*)(int))0, (lck_mtx_t *)0);
317 void *chan,
329 return _sleep((caddr_t)chan, pri, wmsg, abstime, continuation, mtx);
334 void *chan,
347 return _sleep((caddr_t)chan, pri, wmsg, abstime, (int (*)(int))0, mtx);
352 void *chan,
358 return _sleep((caddr_t)chan, pri, wmsg, abstime, (int (*)(int))0, mtx);
363 void *chan,
372 return _sleep((caddr_t)chan, pri, wmsg, abstime, (int (*)(int))0, (lck_mtx_t *)0);
377 void *chan,
387 return _sleep((caddr_t)chan, pri, wmsg, abstime, continuation, (lck_mtx_t *)0);
392 void *chan,
398 return _sleep((caddr_t)chan, pri, wmsg, abstime, continuation, (lck_mtx_t *)0);
402 * Wake up all processes sleeping on chan.
405 wakeup(void *chan)
407 thread_wakeup((caddr_t)chan);
411 * Wake up the first process sleeping on chan.
417 wakeup_one(caddr_t chan)
419 thread_wakeup_one((caddr_t)chan);