Searched refs:spinning (Results 1 – 6 of 6) sorted by relevance
| /xnu-8796.141.3/tests/ktrace/ |
| H A D | kperf_backtracing_tests.c | 174 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 D | microstackshot_tests.c | 99 volatile static bool spinning = true; variable 104 while (spinning) { in thread_spin() 269 spinning = false; 437 spinning = false;
|
| H A D | stackshot_idle_25570396.m | 195 * 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 D | stackshot_accuracy.m | 388 …eproc_spin, "test that no-fault stackshot works correctly in single process setting with spinning")
|
| H A D | stackshot_block_owner_14362384.m | 530 sleep(3); // give (lots of) time for thread to give up spinning on lock
|
| H A D | stackshot_tests.m | 665 … 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()");
|