Lines Matching defs:Unlock
77 // look at the bool, and not try to lock/unlock until the bool makes
84 // state between a call to Lock() and a call to Unlock() (that would
87 // Unlock() later, which is pretty perverse).
147 inline void Unlock(); // Release a lock acquired via Lock()
152 // be implemented as synonyms to Lock() and Unlock(). So you can use
158 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock()
193 void Mutex::Unlock() { assert(mutex_++ == -1); }
205 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); }
211 void Mutex::ReaderUnlock() { Unlock(); }
226 void Mutex::Unlock() { SAFE_PTHREAD(pthread_rwlock_unlock); }
249 void Mutex::Unlock() { SAFE_PTHREAD(pthread_mutex_unlock); }
255 void Mutex::ReaderUnlock() { Unlock(); }
267 ~MutexLock() { mu_->Unlock(); }