Searched refs:mutex (Results 1 - 5 of 5) sorted by last modified time

/art/runtime/
H A DAndroid.mk25 base/mutex.cc \
235 base/mutex.h \
H A Dthread.h575 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { argument
576 held_mutexes_[level] = mutex;
/art/runtime/base/
H A Dmutex-inl.h20 #include "mutex.h"
46 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) argument
47 : mutex_(kLogLockContentions ? mutex : NULL),
52 mutex->GetName(), owner_tid);
128 CHECK(self->GetHeldMutex(level_) == this) << "Unlocking on unacquired mutex: " << name_;
H A Dmutex.cc17 #include "mutex.h"
26 #include "mutex-inl.h"
99 // A guard for all_mutexes_ that's not a mutex (Mutexes must CAS to acquire and busy wait).
109 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { argument
110 while (!all_mutex_data->all_mutexes_guard.compare_and_swap(0, reinterpret_cast<int32_t>(mutex))) {
155 BaseMutex* mutex = *it; local
156 if (mutex->HasEverContended()) {
157 mutex->Dump(os);
163 BaseMutex* mutex local
[all...]
H A Dmutex.h146 // Block until mutex is free then acquire exclusive access.
318 explicit ConditionVariable(const char* name, Mutex& mutex);
323 // TODO: No thread safety analysis on Wait and TimedWait as they call mutex operations via their

Completed in 86 milliseconds