Searched refs:num_threads (Results 1 – 1 of 1) sorted by relevance
39 int num_threads; variable73 num_threads = get_nprocs (); in do_test()74 if (num_threads <= 1) in do_test()75 num_threads = 2; in do_test()78 xpthread_barrier_init (&barrier, NULL, num_threads); in do_test()80 threads = (pthread_t *) xcalloc (num_threads, sizeof (pthread_t)); in do_test()81 for (i = 0; i < num_threads; i++) in do_test()84 for (i = 0; i < num_threads; i++) in do_test()
Completed in 2 milliseconds