Home | History | Annotate | Download | only in ceres

Lines Matching refs:Unlock

73 // look at the bool, and not try to lock/unlock until the bool makes
80 // state between a call to Lock() and a call to Unlock() (that would
83 // Unlock() later, which is pretty perverse).
153 inline void Unlock(); // Release a lock acquired via Lock()
158 // be implemented as synonyms to Lock() and Unlock(). So you can use
164 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock()
201 void Mutex::Unlock() { assert(mutex_++ == -1); }
213 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); }
219 void Mutex::ReaderUnlock() { Unlock(); }
233 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_rwlock_unlock); }
255 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_mutex_unlock); }
261 void Mutex::ReaderUnlock() { Unlock(); }
280 ~CeresMutexLock() { mu_->Unlock(); }