Home
last modified time | relevance | path

Searched refs:NUM_THREADS (Results 1 – 5 of 5) sorted by relevance

/external/valgrind/main/helgrind/tests/
Dtc21_pthonce.c46 #define NUM_THREADS 2 macro
59 assert(myid >= 0 && myid < NUM_THREADS); in maybe_stall()
80 pthread_t threads[NUM_THREADS]; in main()
82 id_arg = (int *)malloc(NUM_THREADS*sizeof(int)); in main()
84 for (i = 0; i < NUM_THREADS; i++) { in main()
90 for (i = 0; i < NUM_THREADS; i++) { in main()
/external/valgrind/main/none/tests/
Dpth_once.c31 #define NUM_THREADS 10 macro
57 pthread_t threads[NUM_THREADS]; in main()
59 id_arg = (int *)malloc(NUM_THREADS*sizeof(int)); in main()
61 for (thread_num = 0; thread_num < NUM_THREADS; (thread_num)++) { in main()
75 for (thread_num = 0; thread_num < NUM_THREADS; thread_num++) { in main()
Dpth_cvsimple.c19 #define NUM_THREADS 3 macro
72 for (i = 0; i < NUM_THREADS; i++) { in main()
/external/qemu/distrib/sdl-1.2.15/test/
Dtestsem.c11 #define NUM_THREADS 10 macro
60 SDL_Thread *threads[NUM_THREADS]; in main()
80 printf("Running %d threads, semaphore value = %d\n", NUM_THREADS, init_sem); in main()
82 for( i = 0; i < NUM_THREADS; ++i ) { in main()
92 for( i = 0; i < NUM_THREADS; ++i ) { in main()
/external/valgrind/main/drd/tests/
Dthread_name.c11 #define NUM_THREADS 10 macro
46 pthread_t tid[NUM_THREADS]; in main()
51 for (i = 0; i < NUM_THREADS; i++) in main()
54 for (i = 0; i < NUM_THREADS; i++) in main()