Searched refs:max_locked (Results 1 – 1 of 1) sorted by relevance
49 int max_locked = -1; in Thread() local51 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()