Home
last modified time | relevance | path

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

/xnu-11215.81.4/tests/sched/
H A Dyield_aggressor.c110 static _Atomic unsigned int done_threads; variable
123 if (atomic_fetch_add(&done_threads, 1) == num_threads - 1) { in thread_fn()
225 done_threads = 0; in run_yielding_test()
/xnu-11215.81.4/tools/tests/zero-to-n/
H A Dzero-to-n.c850 uint32_t done_threads; in worker_thread() local
851 done_threads = atomic_fetch_add_explicit(&g_done_threads, 1, memory_order_relaxed) + 1; in worker_thread()
853 debug_log("Thread %p new value is %d, iteration %d\n", pthread_self(), done_threads, i); in worker_thread()