Searched refs:m_locked (Results 1 – 2 of 2) sorted by relevance
160 , m_locked(false) in ScopedLock()163 { if (m_locked) unlock(); } in ~ScopedLock()165 { assert(! m_locked); m_monitor.lock(); m_locked = true; } in lock()167 { assert(m_locked); m_locked = false; m_monitor.unlock(); } in unlock()174 bool m_locked; member in ScopedLock
95 MutexTryLocker(Mutex& mutex) : m_mutex(mutex), m_locked(mutex.tryLock()) { } in MutexTryLocker()98 if (m_locked) in ~MutexTryLocker()102 bool locked() const { return m_locked; } in locked()106 bool m_locked; variable