Lines Matching refs:event_t
921 assert_wait((event_t) var, THREAD_UNINT); in wait_threads()
937 thread_wakeup((event_t) var); in wake_threads()
1222 …ret = lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inh… in primitive_sleep_with_inheritor()
1225 …ret = lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inher… in primitive_sleep_with_inheritor()
1240 …wakeup_one_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED, LCK_WAKE_DEFAULT, &i… in primitive_wakeup_one_with_inheritor()
1253 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in primitive_wakeup_all_with_inheritor()
1267 change_sleep_inheritor((event_t) &info->thread_inheritor, info->thread_inheritor); in primitive_change_sleep_inheritor()
1695 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1706 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor… in thread_mtx_work()
1710 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor,… in thread_mtx_work()
1739 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_mtx_work()
1747 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN, (event_t) &info->thread_inheritor, i… in thread_mtx_work()
1751 …lck_mtx_sleep_with_inheritor(&info->mtx_lock, LCK_SLEEP_SPIN_ALWAYS, (event_t) &info->thread_inher… in thread_mtx_work()
1801 wakeup_all_with_inheritor((event_t) &info->thread_inheritor, THREAD_AWAKENED); in thread_rw_work()
1816 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_DEFAULT, (event_t) &info->thread_inheritor, … in thread_rw_work()
1820 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_UNLOCK, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1823 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_SHARED, (event_t) &info->thread_inheritor, i… in thread_rw_work()
1827 …lck_rw_sleep_with_inheritor(&info->rw_lock, LCK_SLEEP_EXCLUSIVE, (event_t) &info->thread_inheritor… in thread_rw_work()
2932 event_t wait_event, wake_event; in thread_sleep_gate_chain_work()
2975 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_gate_chain_work()
2976 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_gate_chain_work()
3089 event_t wait_event, wake_event; in thread_sleep_chain_work()
3112 …ret = wakeup_one_with_inheritor((event_t) &info->head.threads[0], THREAD_AWAKENED, LCK_WAKE_DO_NOT… in thread_sleep_chain_work()
3117 ret = wakeup_all_with_inheritor((event_t) &info->head.threads[0], LCK_WAKE_DEFAULT); in thread_sleep_chain_work()
3125 wait_event = (event_t) &info->head.threads[i - 1]; in thread_sleep_chain_work()
3126 wake_event = (event_t) &info->head.threads[i]; in thread_sleep_chain_work()