Home
last modified time | relevance | path

Searched refs:ReaderLock (Results 1 – 7 of 7) sorted by relevance

/external/gflags/src/
Dmutex.h183 inline void ReaderLock(); // Block until free or shared then acquire a share
227 void Mutex::ReaderLock() { assert(++mutex_ > 0); } in ReaderLock() function
247 void Mutex::ReaderLock() { Lock(); } // we don't have read-write locks in ReaderLock() function
271 void Mutex::ReaderLock() { SAFE_PTHREAD(pthread_rwlock_rdlock); } in ReaderLock() function
296 void Mutex::ReaderLock() { Lock(); } in ReaderLock() function
320 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-verbose.cpp30 void ReaderLock() __attribute__((shared_lock_function));
69 mu.ReaderLock(); in test5()
75 mu.ReaderLock(); in test6()
Dwarn-thread-safety-analysis.cpp33 void ReaderLock() __attribute__((shared_lock_function));
652 sls_mu.ReaderLock(); // \ in shared_fun_1()
673 sls_mu.ReaderLock(); in shared_fun_4()
675 sls_mu.ReaderLock(); in shared_fun_4()
685 sls_mu.ReaderLock(); // \ in shared_fun_8()
695 sls_mu.ReaderLock(); // \ in shared_bad_0()
706 sls_mu.ReaderLock(); // \ in shared_bad_1()
714 sls_mu.ReaderLock(); // \ in shared_bad_2()
756 aa_mu.ReaderLock(); in es_fun_2()
774 sls_mu2.ReaderLock(); in es_fun_5()
[all …]
Dwarn-thread-safety-negative.cpp33 void ReaderLock() __attribute__((shared_lock_function));
Dwarn-thread-safety-parsing.cpp30 void ReaderLock() SHARED_LOCK_FUNCTION();
/external/clang/test/PCH/
Dthread-safety-attrs.cpp36 void ReaderLock() __attribute__((shared_lock_function));
/external/clang/docs/
DThreadSafetyAnalysis.rst841 void ReaderLock() ACQUIRE_SHARED();