Home
last modified time | relevance | path

Searched refs:mutex_ (Results 1 – 4 of 4) sorted by relevance

/art/runtime/base/
Dmutex-inl.h50 : mutex_(kLogLockContentions ? mutex : NULL), in ScopedContentionRecorder()
65 mutex_->RecordContention(blocked_tid_, owner_tid_, end_nano_time - start_nano_time_); in ~ScopedContentionRecorder()
70 BaseMutex* const mutex_;
Dmutex.cc87 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock()
93 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakRelease(mutex_, 0)) { in ~ScopedAllMutexesLock()
98 const BaseMutex* const mutex_; member in art::ScopedAllMutexesLock
274 CHECK_MUTEX_CALL(pthread_mutex_init, (&mutex_, nullptr)); in Mutex()
303 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex()
342 CHECK_MUTEX_CALL(pthread_mutex_lock, (&mutex_)); in ExclusiveLock()
375 int result = pthread_mutex_trylock(&mutex_); in ExclusiveTryLock()
440 CHECK_MUTEX_CALL(pthread_mutex_unlock, (&mutex_)); in ExclusiveUnlock()
790 CHECK_MUTEX_CALL(pthread_cond_wait, (&cond_, &guard_.mutex_)); in WaitHoldingLocks()
836 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &guard_.mutex_, &ts)); in TimedWait()
Dmutex.h258 pthread_mutex_t mutex_;
/art/dex2oat/
Ddex2oat.cc642 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
653 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in ~WatchDog()
656 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in ~WatchDog()
661 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_destroy, (&mutex_), reason); in ~WatchDog()
695 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in Wait()
697 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts)); in Wait()
706 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in Wait()
723 pthread_mutex_t mutex_; member in art::WatchDog