Lines Matching refs:Lock
18 class BASE_API Lock {
21 Lock() : lock_() {}
22 ~Lock() {}
23 void Acquire() { lock_.Lock(); }
35 Lock();
36 ~Lock() {}
42 lock_.Lock();
65 // Windows doesn't need to do this as it calls the Lock::* methods.
91 DISALLOW_COPY_AND_ASSIGN(Lock);
94 // A helper class that acquires the given Lock while the AutoLock is in scope.
97 explicit AutoLock(Lock& lock) : lock_(lock) {
107 Lock& lock_;
115 explicit AutoUnlock(Lock& lock) : lock_(lock) {
126 Lock& lock_;