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
77 #undef ReaderMutexLock92 typedef MutexLock ReaderMutexLock; typedef140 using internal::ReaderMutexLock;
49 class __attribute__((scoped_lockable)) ReaderMutexLock { class51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));52 ~ReaderMutexLock() __attribute__((unlock_function));
53 class SCOPED_LOCKABLE ReaderMutexLock { class55 ReaderMutexLock(Mutex *mu) SHARED_LOCK_FUNCTION(mu);56 ReaderMutexLock(Mutex *mu, bool adopt) SHARED_LOCKS_REQUIRED(mu);57 ~ReaderMutexLock() UNLOCK_FUNCTION();1651 ReaderMutexLock mulock1(&mu1); in foo2()2712 ReaderMutexLock lock(getMutexPtr().get()); in test()5076 ReaderMutexLock slock(&mu, true); in test2()5086 ReaderMutexLock slock(&mu, true); in test4()
355 ReaderMutexLock lock(&mutex_); in GetPrototype()
857 ReaderMutexLock l(&unknown_enum_values_mu_); in FindEnumValueByNumberCreatingIfUnknown()
56 #define ReaderLockScoped ReaderMutexLock