Searched defs:Mutex (Results 1 - 3 of 3) sorted by relevance

/art/runtime/
H A Dlocks.h26 class LOCKABLE Mutex; member in namespace:art
29 // LockLevel is used to impose a lock hierarchy [1] where acquisition of a Mutex at a higher or
134 static Mutex* runtime_shutdown_lock_ ACQUIRED_AFTER(heap_bitmap_lock_);
138 static Mutex* thread_list_lock_ ACQUIRED_AFTER(runtime_shutdown_lock_);
141 static Mutex* breakpoint_lock_ ACQUIRED_AFTER(thread_list_lock_);
144 static Mutex* trace_lock_ ACQUIRED_AFTER(breakpoint_lock_);
149 // When declaring any Mutex add DEFAULT_MUTEX_ACQUIRED_AFTER to use annotalysis to check the code
150 // doesn't try to hold a higher level Mutex.
154 static Mutex* abort_lock_ ACQUIRED_AFTER(classlinker_classes_lock_);
158 static Mutex* thread_suspend_count_lock
[all...]
/art/runtime/base/
H A Dmutex.cc145 os << "Mutex logging:\n";
294 Mutex::Mutex(const char* name, LockLevel level, bool recursive) function in class:art::Mutex
313 Mutex::~Mutex() {
339 void Mutex::ExclusiveLock(Thread* self) {
381 bool Mutex::ExclusiveTryLock(Thread* self) {
421 void Mutex::ExclusiveUnlock(Thread* self) {
464 bool Mutex::IsExclusiveHeld(const Thread* self) const {
476 uint64_t Mutex
[all...]
H A Dmutex.h65 // Base class for all Mutex implementations
108 // Number of times the Mutex has been contended.
126 // A Mutex is used to achieve mutual exclusion between threads. A Mutex can be used to gain
127 // exclusive access to what it guards. A Mutex can be in one of two states:
136 // * Mutex is not reentrant and so an attempt to ExclusiveLock on the same thread will result in
138 std::ostream& operator<<(std::ostream& os, const Mutex& mu);
139 class LOCKABLE Mutex : public BaseMutex { class in namespace:art
141 explicit Mutex(const char* name, LockLevel level = kDefaultMutexLevel, bool recursive = false);
142 ~Mutex();
[all...]

Completed in 64 milliseconds