Home | History | Annotate | Download | only in detail

Lines Matching defs:lock

22 // Helper class to lock and unlock a mutex automatically.
31 // Constructor adopts a lock that is already held.
38 // Constructor acquires the lock.
42 mutex_.lock();
46 // Destructor releases the lock.
53 // Explicitly acquire the lock.
54 void lock()
58 mutex_.lock();
63 // Explicitly release the lock.
73 // Test whether the lock is held.