HomeSort by relevance Sort by last modified time
    Searched defs:ReaderLock (Results 1 - 6 of 6) sorted by null

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

Completed in 626 milliseconds