Home
last modified time | relevance | path

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

/xnu-8796.141.3/tests/ktrace/
H A Dkperf_backtracing_tests.c174 recurse_a(dispatch_semaphore_t spinning, unsigned int frames);
176 recurse_b(dispatch_semaphore_t spinning, unsigned int frames);
179 recurse_a(dispatch_semaphore_t spinning, unsigned int frames) in recurse_a() argument
182 if (spinning) { in recurse_a()
183 dispatch_semaphore_signal(spinning); in recurse_a()
193 return recurse_b(spinning, frames - 1) + 1; in recurse_a()
197 recurse_b(dispatch_semaphore_t spinning, unsigned int frames) in recurse_b() argument
200 if (spinning) { in recurse_b()
201 dispatch_semaphore_signal(spinning); in recurse_b()
211 return recurse_a(spinning, frames - 1) + 1; in recurse_b()
/xnu-8796.141.3/tests/
H A Dmicrostackshot_tests.c99 volatile static bool spinning = true; variable
104 while (spinning) { in thread_spin()
269 spinning = false;
437 spinning = false;
H A Dstackshot_idle_25570396.m195 * and 2 nonidle threads (the main thread, and the spinning pthread).
218 * and the work queue has NUMENQUEUES tight-spinning jobs on it. Make sure that
H A Dstackshot_accuracy.m388 …eproc_spin, "test that no-fault stackshot works correctly in single process setting with spinning")
H A Dstackshot_block_owner_14362384.m530 sleep(3); // give (lots of) time for thread to give up spinning on lock
H A Dstackshot_tests.m665 … T_LOG(" ##### Testing while spinning in proc_exit at position %d ##### ", proc_exit_spin_pos);
694 T_ASSERT_EQ_UINT(sysctlValue, 1, "find spinning task in proc_exit()");