Lines Matching defs:ScopedLock
57 * ScopedLock provides helper for maintaining Mutex lock for the duration
59 * when ScopedLock goes out of scope.
61 class ScopedLock
64 ScopedLock (Mutex& mutex);
65 ~ScopedLock (void) { m_mutex.unlock(); }
68 ScopedLock (const ScopedLock& other); // Not allowed!
69 ScopedLock& operator= (const ScopedLock& other); // Not allowed!
119 // ScopedLock inline implementations.
125 inline ScopedLock::ScopedLock (Mutex& mutex)