Home
last modified time | relevance | path

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

/xnu-10063.141.1/tools/tests/zero-to-n/
H A Dzero-to-n.c103 static uint32_t g_numthreads; variable
604 for (uint32_t j = 0; j < g_numthreads - 1; j++) { in worker_thread()
637 for (uint32_t j = 1; j < g_numthreads; j++) { in worker_thread()
680 if (my_id < (g_numthreads - 1)) { in worker_thread()
695 if (my_id < (g_numthreads - 1)) { in worker_thread()
749 while (atomic_load_explicit(&g_done_threads, memory_order_relaxed) < g_numthreads) { in worker_thread()
773 for (uint32_t i = 0; i < g_numthreads - 1; i++) { in worker_thread()
974 if (g_numthreads == 0) { in main()
975 g_numthreads = g_numcpus + g_extra_thread_count; in main()
976 if ((int32_t)g_numthreads < 1) { in main()
[all …]