Searched refs:ReaderMutexLock (Results 1 – 9 of 9) sorted by relevance
102 class ReaderMutexLock {104 explicit ReaderMutexLock(Mutex *mu) : mu_(mu) { mu_->ReaderLock(); } in ReaderMutexLock() function105 ~ReaderMutexLock() { mu_->ReaderUnlock(); } in ~ReaderMutexLock()109 ReaderMutexLock(const ReaderMutexLock&) = delete;110 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;126 #define ReaderMutexLock(x) static_assert(false, "ReaderMutexLock declaration missing variable name") macro
553 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {555 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function559 explicit ReaderMutexLock(Mutex *mu, const Condition &cond) in ReaderMutexLock() function565 ReaderMutexLock(const ReaderMutexLock&) = delete;566 ReaderMutexLock(ReaderMutexLock&&) = delete;567 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;568 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;570 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()133 absl::ReaderMutexLock l(&cxt->mu); in TestRW()720 absl::ReaderMutexLock lock(&mu, absl::Condition(cond_eq_10, &n)); in TEST()
559 class ABSL_SCOPED_LOCKABLE ReaderMutexLock {561 explicit ReaderMutexLock(Mutex *mu) ABSL_SHARED_LOCK_FUNCTION(mu) : mu_(mu) { in ReaderMutexLock() function565 ReaderMutexLock(const ReaderMutexLock&) = delete;566 ReaderMutexLock(ReaderMutexLock&&) = delete;567 ReaderMutexLock& operator=(const ReaderMutexLock&) = delete;568 ReaderMutexLock& operator=(ReaderMutexLock&&) = delete;570 ~ReaderMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->ReaderUnlock(); } in ABSL_UNLOCK_FUNCTION()
116 absl::ReaderMutexLock l(&cxt->mu); in TestR20ms()133 absl::ReaderMutexLock l(&cxt->mu); in TestRW()
126 typedef MutexLock ReaderMutexLock; typedef174 using internal::ReaderMutexLock;
229 ReaderMutexLock lock(&mutex_); in GetPrototype()
918 ReaderMutexLock lock(pool->mutex_); in FindByNameHelper()1036 ReaderMutexLock l(&unknown_enum_values_mu_); in FindEnumValueByNumberCreatingIfUnknown()1486 ReaderMutexLock lock(mutex_); in FindExtensionByNumber()
493 absl::ReaderMutexLock l(DataGuard()); in ReadSequenceLockedData()