Home
last modified time | relevance | path

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

/external/compiler-rt/lib/tsan/benchmarks/
Dvts_many_threads_bench.cc42 const int kNumMutexes = 1024; variable
43 Mutex mutexes[kNumMutexes];
62 int offset = idx * kNumMutexes / n_threads; in Thread()
64 mutexes[(offset + i) % kNumMutexes].Lock(); in Thread()
65 mutexes[(offset + i) % kNumMutexes].Unlock(); in Thread()