Home | History | Annotate | Download | only in src

Lines Matching refs:Unlock

74 // look at the bool, and not try to lock/unlock until the bool makes
81 // state between a call to Lock() and a call to Unlock() (that would
84 // Unlock() later, which is pretty perverse).
175 inline void Unlock(); // Release a lock acquired via Lock()
180 // be implemented as synonyms to Lock() and Unlock(). So you can use
186 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock()
223 void Mutex::Unlock() { assert(mutex_++ == -1); }
242 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); }
248 void Mutex::ReaderUnlock() { Unlock(); }
266 void Mutex::Unlock() { SAFE_PTHREAD(pthread_rwlock_unlock); }
291 void Mutex::Unlock() { SAFE_PTHREAD(pthread_mutex_unlock); }
297 void Mutex::ReaderUnlock() { Unlock(); }
309 ~MutexLock() { mu_->Unlock(); }