Searched refs:mutex (Results 1 – 6 of 6) sorted by relevance
49 ScopedContentionRecorder(BaseMutex* mutex, uint64_t blocked_tid, uint64_t owner_tid) in ScopedContentionRecorder() argument50 : mutex_(kLogLockContentions ? mutex : NULL), in ScopedContentionRecorder()56 mutex->GetName(), owner_tid); in ScopedContentionRecorder()
87 explicit ScopedAllMutexesLock(const BaseMutex* mutex) : mutex_(mutex) { in ScopedAllMutexesLock() argument88 while (!gAllMutexData->all_mutexes_guard.CompareExchangeWeakAcquire(0, mutex)) { in ScopedAllMutexesLock()133 BaseMutex* mutex = *it; in DumpAll() local134 if (mutex->HasEverContended()) { in DumpAll()135 mutex->Dump(os); in DumpAll()141 BaseMutex* mutex = *it; in DumpAll() local142 if (!mutex->HasEverContended()) { in DumpAll()143 mutex->Dump(os); in DumpAll()
383 explicit ConditionVariable(const char* name, Mutex& mutex);
28 base/mutex.cc \297 base/mutex.h \
853 BaseMutex* mutex = thread->GetHeldMutex(static_cast<LockLevel>(i)); in DumpState() local854 if (mutex != nullptr) { in DumpState()855 os << " \"" << mutex->GetName() << "\""; in DumpState()856 if (mutex->IsReaderWriterMutex()) { in DumpState()857 ReaderWriterMutex* rw_mutex = down_cast<ReaderWriterMutex*>(mutex); in DumpState()
759 void SetHeldMutex(LockLevel level, BaseMutex* mutex) { in SetHeldMutex() argument760 tlsPtr_.held_mutexes[level] = mutex; in SetHeldMutex()