Lines Matching refs:THREADS
27 #define THREADS 64 macro
82 if (i < THREADS - 1) { in mem_spam()
96 pthread_t threads[THREADS + 1]; in do_test()
99 m = SAFE_MMAP(NULL, sizeof(*m) * THREADS, in do_test()
103 seq_n = &((m + THREADS / 2)->seq_n); in do_test()
105 pthread_create(&threads[THREADS], NULL, mem_spam, NULL); in do_test()
106 for (i = THREADS - 1; i >= 0; i--) in do_test()
109 for (i = 0; i < THREADS; i++) { in do_test()
114 pthread_join(threads[THREADS], NULL); in do_test()
117 for (i = 0; i < THREADS; i++) { in do_test()
125 SAFE_MUNMAP(m, sizeof(*m) * THREADS); in do_test()