Home
last modified time | relevance | path

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

/xnu-10063.141.1/osfmk/kern/
H A Dtestpoints.c41 static uint64_t tp_blocked_info[TESTPOINT_COUNT]; variable
49 tp_blocked_info[testpoint] = 1; in tp_block()
55 tp_blocked_info[other_testpoint] = 0; in tp_unblock()
56 thread_wakeup(&tp_blocked_info); in tp_unblock()
64 while ((tp_blocked_info[testpoint]) && wr <= 0) { in tp_wait()
65 wr = lck_mtx_sleep(&tp_mtx, LCK_SLEEP_DEFAULT, (event_t)&tp_blocked_info, THREAD_INTERRUPTIBLE); in tp_wait()
118 bzero(&tp_blocked_info, sizeof(tp_blocked_info)); in tp_scenario_handler()
119 thread_wakeup(&tp_blocked_info); in tp_scenario_handler()