Searched refs:num_busy (Results 1 – 1 of 1) sorted by relevance
74 static int num_busy = -1; variable105 num_busy = atoi(v); in parse_args()242 if (num_busy == -1) { in main()244 num_busy = sysconf(_SC_NPROCESSORS_ONLN); in main()247 if ((ret = pthread_barrier_init(&bar1, NULL, (num_busy + 2)))) { in main()251 if ((ret = pthread_barrier_init(&bar2, NULL, (num_busy + 2)))) { in main()264 for (i = 0; i < num_busy; i++) { in main()