Home
last modified time | relevance | path

Searched refs:tp_blocked_info (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.41.6/osfmk/kern/
H A Dtestpoints.c42 static uint64_t tp_blocked_info[TESTPOINT_COUNT]; variable
50 tp_blocked_info[testpoint] = 1; in tp_block()
56 tp_blocked_info[other_testpoint] = 0; in tp_unblock()
57 thread_wakeup(&tp_blocked_info); in tp_unblock()
65 while ((tp_blocked_info[testpoint]) && wr <= 0) { in tp_wait()
66 wr = lck_mtx_sleep(&tp_mtx, LCK_SLEEP_DEFAULT, (event_t)&tp_blocked_info, THREAD_INTERRUPTIBLE); in tp_wait()
122 bzero(&tp_blocked_info, sizeof(tp_blocked_info)); in tp_scenario_handler()
123 thread_wakeup(&tp_blocked_info); in tp_scenario_handler()
142 bzero(&tp_blocked_info, sizeof(tp_blocked_info)); in tp_pid_handler()
143 thread_wakeup(&tp_blocked_info); in tp_pid_handler()