Home
last modified time | relevance | path

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

/art/runtime/base/
Dmutex.cc92 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()
[all …]
Dmutex.h264 pthread_mutex_t mutex_;
/art/dex2oat/
Ddex2oat.cc371 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
382 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in ~WatchDog()
385 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in ~WatchDog()
390 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_destroy, (&mutex_), reason); in ~WatchDog()
417 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in Wait()
419 int rc = TEMP_FAILURE_RETRY(pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts)); in Wait()
429 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in Wait()
442 pthread_mutex_t mutex_; member in art::WatchDog