Searched refs:NUM_THREADS (Results 1 - 4 of 4) sorted by relevance

/external/valgrind/main/helgrind/tests/
H A Dtc21_pthonce.c46 #define NUM_THREADS 2 macro
59 assert(myid >= 0 && myid < NUM_THREADS);
80 pthread_t threads[NUM_THREADS];
82 id_arg = (int *)malloc(NUM_THREADS*sizeof(int));
84 for (i = 0; i < NUM_THREADS; i++) {
90 for (i = 0; i < NUM_THREADS; i++) {
/external/valgrind/main/none/tests/
H A Dpth_once.c31 #define NUM_THREADS 10 macro
57 pthread_t threads[NUM_THREADS];
59 id_arg = (int *)malloc(NUM_THREADS*sizeof(int));
61 for (thread_num = 0; thread_num < NUM_THREADS; (thread_num)++) {
75 for (thread_num = 0; thread_num < NUM_THREADS; thread_num++) {
H A Dpth_cvsimple.c19 #define NUM_THREADS 3 macro
72 for (i = 0; i < NUM_THREADS; i++) {
/external/valgrind/main/drd/tests/
H A Dthread_name.c11 #define NUM_THREADS 10 macro
46 pthread_t tid[NUM_THREADS];
51 for (i = 0; i < NUM_THREADS; i++)
54 for (i = 0; i < NUM_THREADS; i++)

Completed in 113 milliseconds