Home
last modified time | relevance | path

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

/external/stressapptest/src/
Dfinelock_queue.cc62 pthread_mutex_init(&(randlocks_[i]), NULL); in FineLockPEQueue()
156 pthread_mutex_destroy(&(randlocks_[i])); in ~FineLockPEQueue()
300 if (pthread_mutex_trylock(&(randlocks_[i])) == 0) { in GetRandom64()
302 pthread_mutex_unlock(&(randlocks_[i])); in GetRandom64()
308 if (pthread_mutex_lock(&(randlocks_[i])) == 0) { in GetRandom64()
310 pthread_mutex_unlock(&(randlocks_[i])); in GetRandom64()
Dfinelock_queue.h113 pthread_mutex_t randlocks_[4]; // Per-random-generator locks. variable