Searched refs:ReaderMutexLock (Results 1 – 7 of 7) sorted by relevance
161 class ReaderMutexLock {163 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function164 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()168 ReaderMutexLock(const ReaderMutexLock&);169 void operator=(const ReaderMutexLock&);185 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name) macro
276 class ReaderMutexLock {278 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function279 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()283 ReaderMutexLock(const ReaderMutexLock&);284 void operator=(const ReaderMutexLock&);300 #define ReaderMutexLock(x) COMPILE_ASSERT(0, rmutex_lock_decl_missing_var_name) macro
46 #define ReaderLockScoped ReaderMutexLock
262 ReaderMutexLock lock(&mutex_); in GetPrototype()
1082 typedef MutexLock ReaderMutexLock; typedef1102 using internal::ReaderMutexLock;
44 class __attribute__((scoped_lockable)) ReaderMutexLock { class46 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));47 ~ReaderMutexLock() __attribute__((unlock_function));1609 ReaderMutexLock mulock1(&mu1); in foo2()2625 ReaderMutexLock lock(getMutexPtr().get()); in test()
56 #define ReaderLockScoped ReaderMutexLock