Searched refs:kMutexes (Results 1 – 2 of 2) sorted by relevance
14 const int kMutexes = 16 << 10; variable27 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()