Home
last modified time | relevance | path

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

/xnu-12377.61.12/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()
223 done_threads = 0; in run_yielding_test()
/xnu-12377.61.12/tools/tests/zero-to-n/
H A Dzero-to-n.c808 uint32_t done_threads; in worker_thread() local
809 done_threads = atomic_fetch_add_explicit(&g_done_threads, 1, memory_order_relaxed) + 1; in worker_thread()
811 debug_log("Thread %p new value is %d, iteration %d\n", pthread_self(), done_threads, i); in worker_thread()