Searched refs:mutex_owner_ (Results 1 – 3 of 3) sorted by relevance
74 return mutex_owner_.load(std::memory_order_relaxed) == ThreadId::Current(); in IsLockedByCurrentThread()77 return mutex_owner_.load(std::memory_order_relaxed) == id; in IsLockedByThread()97 std::atomic<ThreadId> mutex_owner_; variable
146 mutex_owner_.store(ThreadId::Current(), std::memory_order_relaxed); in Lock()151 mutex_owner_.store(ThreadId::Invalid(), std::memory_order_relaxed); in Unlock()216 : mutex_owner_(ThreadId::Invalid()), in ThreadManager()
449 DCHECK_NE(thread_manager_->mutex_owner_.load(std::memory_order_relaxed), in DiscardPerThreadDataForThisThread()