Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/benchmarks/
H A Dstart_many_threads.cpp17 pthread_barrier_t all_threads_ready; variable
20 pthread_barrier_wait(&all_threads_ready); in Thread()
36 pthread_barrier_init(&all_threads_ready, NULL, n_threads + 1); in main()
44 pthread_barrier_wait(&all_threads_ready); in main()
H A Dvts_many_threads_bench.cpp47 pthread_barrier_t all_threads_ready, main_threads_ready; variable
50 pthread_barrier_wait(&all_threads_ready); in GarbageThread()
56 pthread_barrier_wait(&all_threads_ready); in Thread()
90 pthread_barrier_init(&all_threads_ready, NULL, n_garbage_threads + n_threads + 1); in main()
104 pthread_barrier_wait(&all_threads_ready); in main()