Lines Matching refs:N_THREADS
7445 const int N_THREADS = 2, variable
7468 int lower_bound = ARRAY_SIZE * (myId-1) / N_THREADS, in Worker()
7469 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; in Worker()
7492 const int N_THREADS = 2, variable
7513 int lower_bound = ARRAY_SIZE * (myId-1) / N_THREADS, in Worker()
7514 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; in Worker()
7583 const int N_THREADS = 1, variable
7609 ThreadPool pool(N_THREADS); in Run()
7611 for (int i = 0; i < N_THREADS; i++) { in Run()
7622 const int N_THREADS = 1, variable
7648 ThreadPool pool(N_THREADS); in Run()
7650 for (int i = 0; i < N_THREADS; i++) { in Run()
7661 const int N_THREADS = 16, variable
7681 ThreadPool pool(N_THREADS); in Run()
7683 for (int i = 0; i < N_THREADS; i++) { in Run()
7694 const int N_THREADS = 16, variable
7711 ThreadPool pool(N_THREADS); in Run()
7713 for (int i = 0; i < N_THREADS; i++) { in Run()
7761 const int N_THREADS = 2, variable
7769 int array[N_THREADS][ARRAY_SIZE];
7773 Mutex mutex_arr[N_THREADS][MUTEX_ID_BITS];
7800 ThreadPool pool(N_THREADS); in Run()
7802 for (int i = 0; i < N_THREADS; i++) { in Run()