Lines Matching refs:event_t
918 assert_wait((event_t) var, THREAD_UNINT); in wait_threads()
934 thread_wakeup((event_t) var); in wake_threads()
1219 …ret = lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inh… in primitive_sleep_with_inheritor()
1222 …ret = lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inher… in primitive_sleep_with_inheritor()
1237 …wakeup_one_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED, LCK_WAKE_DEFAULT, &i… in primitive_wakeup_one_with_inheritor()
1250 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in primitive_wakeup_all_with_inheritor()
1264 change_sleep_inheritor((event_t) &info->thread_inheritor, info->thread_inheritor); in primitive_change_sleep_inheritor()
1692 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1703 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor… in thread_mtx_work()
1707 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor,… in thread_mtx_work()
1736 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1744 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN, (event_t) &info->thread_inheritor, i… in thread_mtx_work()
1748 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN_ALWAYS, (event_t) &info->thread_inher… in thread_mtx_work()
1798 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_rw_work()
1813 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor, … in thread_rw_work()
1817 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1820 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_SHARED, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1824 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_EXCLUSIVE, (event_t) &info->thread_inheritor… in thread_rw_work()
2929 event_t wait_event, wake_event; in thread_sleep_gate_chain_work()
2972 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_gate_chain_work()
2973 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_gate_chain_work()
3086 event_t wait_event, wake_event; in thread_sleep_chain_work()
3109 …ret = wakeup_one_with_inheritor((event_t) &info->head.threads[0], THREAD_AWAKENED, LCK_WAKE_DO_NOT… in thread_sleep_chain_work()
3114 ret = wakeup_all_with_inheritor((event_t) &info->head.threads[0], LCK_WAKE_DEFAULT); in thread_sleep_chain_work()
3122 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_chain_work()
3123 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_chain_work()