Searched defs:ReaderLock (Results 1 - 6 of 6) sorted by relevance

/external/ceres-solver/internal/ceres/
H A Dmutex.h167 inline void ReaderLock(); // Block until free or shared then acquire a share
211 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:ceres::internal::Mutex
224 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:ceres::internal::Mutex
245 void Mutex::ReaderLock() { CERES_SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:ceres::internal::Mutex
266 void Mutex::ReaderLock() { Lock(); } function in class:ceres::internal::Mutex
298 explicit CeresReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/chromium_org/third_party/re2/util/
H A Dmutex.h69 inline void ReaderLock(); // Block until free or shared then acquire a share
104 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:re2::Mutex
117 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } function in class:re2::Mutex
132 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
143 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
167 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dsimple_mutex.h171 inline void ReaderLock(); // Block until free or shared then acquire a share
213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:MUTEX_NAMESPACE::Mutex
231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:MUTEX_NAMESPACE::Mutex
253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:MUTEX_NAMESPACE::Mutex
276 void Mutex::ReaderLock() { Lock(); } function in class:MUTEX_NAMESPACE::Mutex
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dsimple_mutex.h171 inline void ReaderLock(); // Block until free or shared then acquire a share
213 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:MUTEX_NAMESPACE::Mutex
231 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:MUTEX_NAMESPACE::Mutex
253 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } function in class:MUTEX_NAMESPACE::Mutex
276 void Mutex::ReaderLock() { Lock(); } function in class:MUTEX_NAMESPACE::Mutex
300 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/regex-re2/util/
H A Dmutex.h65 inline void ReaderLock(); // Block until free or shared then acquire a share
100 void Mutex::ReaderLock() { assert(++mutex_ > 0); } function in class:re2::Mutex
113 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock(&mutex_)); } function in class:re2::Mutex
128 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
139 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks function in class:re2::Mutex
163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); }
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h181 /// so the methods like ReaderLock() aren't really reader locks.
210 void ReaderLock() { Lock(); } function in class:Mutex
296 // ReaderLock method of Mutex to be the real rw-lock.
304 void ReaderLock() { CHECK(0 == pthread_rwlock_rdlock(&mu_)); } function in class:RWLock
316 mu_->ReaderLock();

Completed in 431 milliseconds