Searched refs:mutex (Results 1 - 6 of 6) sorted by relevance
/art/runtime/base/ |
H A D | mutex.cc | 17 #include "mutex.h" 27 #include "mutex-inl.h" 69 // A guard for all_mutexes_ that's not a mutex (Mutexes must CAS to acquire and busy wait). 95 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { argument 96 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakAcquire(0, mutex)) { 119 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) argument 120 : mutex_(kLogLockContentions ? mutex : nullptr), 126 mutex->GetName(), owner_tid); 178 BaseMutex* mutex local 186 BaseMutex* mutex = *it; local [all...] |
H A D | mutex.h | 222 // Block until mutex is free then acquire exclusive access. 396 // Exclusive owner. Modification guarded by this mutex. 410 // Locks::mutator_lock_ mutex. The behaviour is identical to the ReaderWriterMutex except that 417 // transitions are consistent with the permitted behaviour of the mutex. 420 // suspended states before exclusive ownership of the mutator mutex is sought. 446 ConditionVariable(const char* name, Mutex& mutex); 451 // TODO: No thread safety analysis on Wait and TimedWait as they call mutex operations via their 695 // TODO: this should be a RW mutex lock, except that ConditionVariables don't work with it.
|
/art/runtime/openjdkjvm/ |
H A D | OpenjdkJvm.cc | 133 pthread_mutex_t* mutex = local 135 CHECK(mutex != nullptr); 136 CHECK_PTHREAD_CALL(pthread_mutex_init, (mutex, nullptr), "JVM_RawMonitorCreate"); 137 return mutex;
|
/art/runtime/ |
H A D | Android.mk | 33 base/mutex.cc \ 346 base/mutex.h \
|
H A D | thread.h | 32 #include "base/mutex.h" 952 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { argument 953 tlsPtr_.held_mutexes[level] = mutex; 1463 // to avoid additional cost of a mutex and a condition variable, as used in art::Barrier.
|
H A D | thread.cc | 36 #include "base/mutex.h" 1331 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); local 1332 if (mutex != nullptr) { 1333 os << " \"" << mutex->GetName() << "\""; 1334 if (mutex->IsReaderWriterMutex()) { 1335 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); 1606 wait_mutex_ = new Mutex("a thread wait mutex");
|
Completed in 107 milliseconds