Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cpp14 const int kMutexes = 16 << 10; variable
27 Mutex mtx[kMutexes];
52 if (max_locked == kMutexes - 1) { in Thread()
57 int id = (rand_r(&rnd) % (kMutexes - max_locked - 1)) + max_locked + 1; in Thread()
140 int id = rand_r(&rnd) % kMutexes; in Thread()
174 for (int i = 0; i < kMutexes; i++) in main()
/external/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cc14 const int kMutexes = 16 << 10; variable
27 Mutex mtx[kMutexes];
52 if (max_locked == kMutexes - 1) { in Thread()
57 int id = (rand_r(&rnd) % (kMutexes - max_locked - 1)) + max_locked + 1; in Thread()
140 int id = rand_r(&rnd) % kMutexes; in Thread()
174 for (int i = 0; i < kMutexes; i++) in main()