Lines Matching refs:event_t
929 assert_wait((event_t) var, THREAD_UNINT); in wait_threads()
945 thread_wakeup((event_t) var); in wake_threads()
1230 …ret = lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inh… in primitive_sleep_with_inheritor()
1233 …ret = lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inher… in primitive_sleep_with_inheritor()
1248 …wakeup_one_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED, LCK_WAKE_DEFAULT, &i… in primitive_wakeup_one_with_inheritor()
1261 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in primitive_wakeup_all_with_inheritor()
1275 change_sleep_inheritor((event_t) &info->thread_inheritor, info->thread_inheritor); in primitive_change_sleep_inheritor()
1703 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1714 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor… in thread_mtx_work()
1718 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor,… in thread_mtx_work()
1747 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1755 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN, (event_t) &info->thread_inheritor, i… in thread_mtx_work()
1759 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN_ALWAYS, (event_t) &info->thread_inher… in thread_mtx_work()
1809 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_rw_work()
1824 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor, … in thread_rw_work()
1828 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1831 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_SHARED, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1835 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_EXCLUSIVE, (event_t) &info->thread_inheritor… in thread_rw_work()
2940 event_t wait_event, wake_event; in thread_sleep_gate_chain_work()
2983 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_gate_chain_work()
2984 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_gate_chain_work()
3097 event_t wait_event, wake_event; in thread_sleep_chain_work()
3120 …ret = wakeup_one_with_inheritor((event_t) &info->head.threads[0], THREAD_AWAKENED, LCK_WAKE_DO_NOT… in thread_sleep_chain_work()
3125 ret = wakeup_all_with_inheritor((event_t) &info->head.threads[0], LCK_WAKE_DEFAULT); in thread_sleep_chain_work()
3133 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_chain_work()
3134 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_chain_work()