Searched refs:ReaderMutexLock (Results 1 – 8 of 8) 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
67 class ReaderMutexLock {69 ReaderMutexLock(Mutex *) {} in ReaderMutexLock() function72 DISALLOW_COPY_AND_ASSIGN(ReaderMutexLock);
49 class __attribute__((scoped_lockable)) ReaderMutexLock { class51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));52 ~ReaderMutexLock() __attribute__((unlock_function));
84 ReaderMutexLock check_sum_lock(&check_sum_mutex_); in MaybeRecomputeCheckSum()
302 ReaderMutexLock lock(&mutex_); in GetPrototype()
1135 typedef MutexLock ReaderMutexLock; typedef1155 using internal::ReaderMutexLock;
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()
56 #define ReaderLockScoped ReaderMutexLock