Lines Matching refs:mutex_
85 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()
94 DCHECK_EQ(gAllMutexData->all_mutexes_guard.load(std::memory_order_relaxed), mutex_); in ~ScopedAllMutexesLock()
99 const BaseMutex* const mutex_; member in art::ScopedAllMutexesLock
106 : mutex_(kLogLockContentions ? mutex : nullptr), in ScopedContentionRecorder()
121 mutex_->RecordContention(blocked_tid_, owner_tid_, end_nano_time - start_nano_time_); in ~ScopedContentionRecorder()
126 BaseMutex* const mutex_; member in art::ScopedContentionRecorder
326 CHECK_MUTEX_CALL(pthread_mutex_init, (&mutex_, nullptr)); in Mutex()
351 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex()
398 CHECK_MUTEX_CALL(pthread_mutex_lock, (&mutex_)); in ExclusiveLock()
431 int result = pthread_mutex_trylock(&mutex_); in ExclusiveTryLock()
511 CHECK_MUTEX_CALL(pthread_mutex_unlock, (&mutex_)); in ExclusiveUnlock()
918 CHECK_MUTEX_CALL(pthread_cond_wait, (&cond_, &guard_.mutex_)); in WaitHoldingLocks()
967 while ((rc = pthread_cond_timedwait(&cond_, &guard_.mutex_, &ts)) == EINTR) { in TimedWait()