Home
last modified time | relevance | path

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

/external/llvm-project/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cpp49 int max_locked = -1; in Thread() local
51 max_locked = *std::max_element(locked.begin(), locked.end()); in Thread()
52 if (max_locked == kMutexes - 1) { in Thread()
57 int id = (rand_r(&rnd) % (kMutexes - max_locked - 1)) + max_locked + 1; in Thread()
/external/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cc49 int max_locked = -1; in Thread() local
51 max_locked = *std::max_element(locked.begin(), locked.end()); in Thread()
52 if (max_locked == kMutexes - 1) { in Thread()
57 int id = (rand_r(&rnd) % (kMutexes - max_locked - 1)) + max_locked + 1; in Thread()