Home
last modified time | relevance | path

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

/xnu-8792.41.9/tools/tests/zero-to-n/
H A Dzero-to-n.c102 static uint32_t g_numthreads; variable
592 for (uint32_t j = 0; j < g_numthreads - 1; j++) { in worker_thread()
625 for (uint32_t j = 1; j < g_numthreads; j++) { in worker_thread()
668 if (my_id < (g_numthreads - 1)) { in worker_thread()
683 if (my_id < (g_numthreads - 1)) { in worker_thread()
737 while (atomic_load_explicit(&g_done_threads, memory_order_relaxed) < g_numthreads) { in worker_thread()
761 for (uint32_t i = 0; i < g_numthreads - 1; i++) { in worker_thread()
961 if (g_numthreads == 0) { in main()
962 g_numthreads = g_numcpus + g_extra_thread_count; in main()
963 if ((int32_t)g_numthreads < 1) { in main()
[all …]