Searched refs:mutex_ (Results 1 – 7 of 7) sorted by relevance
/art/runtime/base/ |
D | message_queue.h | 103 MutexLock lock{self, mutex_}; in SendMessage() 112 MutexLock lock{self, mutex_}; in SetTimeout() 121 MutexLock lock{self, mutex_}; in ReceiveMessage() 161 Mutex mutex_{"MessageQueue Mutex"}; 162 ConditionVariable cv_{"MessageQueue ConditionVariable", mutex_}; 164 std::deque<Message> messages_ GUARDED_BY(mutex_); 165 std::optional<uint64_t> deadline_milliseconds_ GUARDED_BY(mutex_);
|
D | mutex.cc | 151 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock() 160 DCHECK_EQ(gAllMutexData->all_mutexes_guard.load(std::memory_order_relaxed), mutex_); in ~ScopedAllMutexesLock() 165 const BaseMutex* const mutex_; member in art::ScopedAllMutexesLock 172 : mutex_(kLogLockContentions ? mutex : nullptr), in ScopedContentionRecorder() 187 mutex_->RecordContention(blocked_tid_, owner_tid_, end_nano_time - start_nano_time_); in ~ScopedContentionRecorder() 192 BaseMutex* const mutex_; member in art::ScopedContentionRecorder 399 CHECK_MUTEX_CALL(pthread_mutex_init, (&mutex_, nullptr)); in Mutex() 424 int rc = pthread_mutex_destroy(&mutex_); in ~Mutex() 496 CHECK_MUTEX_CALL(pthread_mutex_lock, (&mutex_)); in ExclusiveLock() 581 int result = pthread_mutex_trylock(&mutex_); in ExclusiveTryLock() [all …]
|
D | locks.cc | 106 explicit ScopedExpectedMutexesOnWeakRefAccessLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedExpectedMutexesOnWeakRefAccessLock() 117 mutex_); in ~ScopedExpectedMutexesOnWeakRefAccessLock() 122 const BaseMutex* const mutex_; member in art::Locks::ScopedExpectedMutexesOnWeakRefAccessLock
|
D | mutex.h | 283 pthread_mutex_t mutex_;
|
/art/openjdkjvmti/ |
D | ti_monitor.cc | 72 monitor->mutex_.unlock(); in Destroy() 100 if (mutex_.try_lock()) { in MonitorEnter() 105 mutex_.lock(); in MonitorEnter() 112 mutex_.unlock(); in MonitorEnter() 132 mutex_.unlock(); in MonitorExit() 182 std::unique_lock<std::mutex> lk(mutex_, std::adopt_lock); in Wait() 214 std::mutex mutex_; member in openjdkjvmti::JvmtiMonitor
|
/art/test/912-classes/ |
D | classes.cc | 441 std::unique_lock<std::mutex> lk(mutex_); in AgentThreadTest() 463 std::unique_lock<std::mutex> lk(mutex_); in ClassLoadCallback() 481 std::unique_lock<std::mutex> lk(mutex_); in ClassPrepareCallback() 558 static std::mutex mutex_; member in art::Test912Classes::ClassLoadPrepareEquality 571 std::mutex ClassLoadPrepareEquality::mutex_; member in art::Test912Classes::ClassLoadPrepareEquality
|
/art/dex2oat/ |
D | dex2oat.cc | 300 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog() 314 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in ~WatchDog() 317 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in ~WatchDog() 322 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_destroy, (&mutex_), reason); in ~WatchDog() 386 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_lock, (&mutex_), reason); in Wait() 388 int rc = pthread_cond_timedwait(&cond_, &mutex_, &timeout_ts); in Wait() 399 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_unlock, (&mutex_), reason); in Wait() 414 pthread_mutex_t mutex_; member in art::WatchDog
|