Home
last modified time | relevance | path

Searched refs:N_THREADS (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/helgrind/tests/
Dtc24_nonzero_sem.c13 #define N_THREADS 3 macro
30 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()
/external/valgrind/drd/tests/
Dtsan_unittest.cpp7441 const int N_THREADS = 2, variable
7464 int lower_bound = ARRAY_SIZE * (myId-1) / N_THREADS, in Worker()
7465 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; in Worker()
7488 const int N_THREADS = 2, variable
7509 int lower_bound = ARRAY_SIZE * (myId-1) / N_THREADS, in Worker()
7510 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; in Worker()
7579 const int N_THREADS = 1, variable
7605 ThreadPool pool(N_THREADS); in Run()
7607 for (int i = 0; i < N_THREADS; i++) { in Run()
7618 const int N_THREADS = 1, variable
[all …]