Searched refs:N_THREADS (Results 1 – 3 of 3) sorted by relevance
48 #define N_THREADS 200 macro50 G_STATIC_ASSERT (((unsigned) N_THREADS * (unsigned) N_REFS) < G_MAXINT32);64 GThread *threads[N_THREADS];180 for (i = 0; i < N_THREADS; i++) in wait_for_all_threads()282 for (i = 0; i < N_THREADS; i++) in test_connection()294 for (i = 0; i < N_THREADS; i++) in test_connection()306 for (i = 0; i < N_THREADS; i++) in test_connection()361 for (i = 0; i < N_THREADS; i++) in test_server()373 for (i = 0; i < N_THREADS; i++) in test_server()385 for (i = 0; i < N_THREADS; i++) in test_server()[all …]
13 #define N_THREADS 3 macro30 pthread_t child[N_THREADS]; in main()32 sem= my_sem_init("sem1", 0, N_THREADS); assert(sem); in main()34 for (i = 0; i < N_THREADS; i++) { in main()39 for (i = 0; i < N_THREADS; i++) { in main()
7445 const int N_THREADS = 2, variable7468 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, variable7513 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, variable7609 ThreadPool pool(N_THREADS); in Run()7611 for (int i = 0; i < N_THREADS; i++) { in Run()7622 const int N_THREADS = 1, variable[all …]