OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ReaderLock
(Results
1 - 3
of
3
) 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/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/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 96 milliseconds