Home | History | Annotate | Download | only in ceres

Lines Matching full: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).
159 inline void Unlock(); // Release a lock acquired via Lock()
164 // be implemented as synonyms to Lock() and Unlock(). So you can use
170 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock()
207 void Mutex::Unlock() { assert(mutex_++ == -1); }
219 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); }
225 void Mutex::ReaderUnlock() { Unlock(); }
239 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_rwlock_unlock); }
261 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_mutex_unlock); }
267 void Mutex::ReaderUnlock() { Unlock(); }
287 ~CeresMutexLock() { mu_->Unlock(); }