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

/darwin-on-arm/xnu/tools/tests/zero-to-n/
H A Dzero-to-n.c72 int g_numthreads; variable
229 if (new == g_numthreads) {
234 while (g_done_threads < g_numthreads) {
261 if (new == g_numthreads) {
277 g_long_spinid = rand() % g_numthreads;
288 for (j = 1; j < g_numthreads; j++) {
327 if (my_id < (g_numthreads - 1)) {
413 g_numthreads = atoi(argv[1]);
446 threads = (pthread_t*) malloc(sizeof(pthread_t) * g_numthreads);
449 g_thread_endtimes_abs = (uint64_t*) malloc(sizeof(uint64_t) * g_numthreads);
[all...]

Completed in 19 milliseconds