Lines Matching refs:mutex_
92 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()
101 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakSequentiallyConsistent(mutex_, 0)) { in ~ScopedAllMutexesLock()
103 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakRelease(mutex_, 0)) { in ~ScopedAllMutexesLock()
110 const BaseMutex* const mutex_; in ~ScopedAllMutexesLock() member in art::FINAL
117 : mutex_(kLogLockContentions ? mutex : nullptr), in ScopedContentionRecorder()
132 mutex_->RecordContention(blocked_tid_, owner_tid_, end_nano_time - start_nano_time_); in ~ScopedContentionRecorder()
137 BaseMutex* const mutex_; member in art::FINAL
318 CHECK_MUTEX_CALL(pthread_mutex_init, (&mutex_, nullptr)); in Mutex()
346 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex()
385 CHECK_MUTEX_CALL(pthread_mutex_lock, (&mutex_)); in ExclusiveLock()
418 int result = pthread_mutex_trylock(&mutex_); in ExclusiveTryLock()
494 CHECK_MUTEX_CALL(pthread_mutex_unlock, (&mutex_)); in ExclusiveUnlock()
858 CHECK_MUTEX_CALL(pthread_cond_wait, (&cond_, &guard_.mutex_)); in WaitHoldingLocks()
906 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &guard_.mutex_, &ts)); in TimedWait()