Searched refs:WriterMutexLock (Results 1 – 8 of 8) sorted by relevance
113 class WriterMutexLock {115 explicit WriterMutexLock(Mutex *mu) : mu_(mu) { mu_->WriterLock(); } in WriterMutexLock() function116 ~WriterMutexLock() { mu_->WriterUnlock(); } in ~WriterMutexLock()120 WriterMutexLock(const WriterMutexLock&) = delete;121 WriterMutexLock& operator=(const WriterMutexLock&) = delete;127 #define WriterMutexLock(x) static_assert(false, "WriterMutexLock declaration missing variable name") macro
580 class ABSL_SCOPED_LOCKABLE WriterMutexLock {582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() function587 explicit WriterMutexLock(Mutex *mu, const Condition &cond) in WriterMutexLock() function593 WriterMutexLock(const WriterMutexLock&) = delete;594 WriterMutexLock(WriterMutexLock&&) = delete;595 WriterMutexLock& operator=(const WriterMutexLock&) = delete;596 WriterMutexLock& operator=(WriterMutexLock&&) = delete;598 ~WriterMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->WriterUnlock(); } in ABSL_UNLOCK_FUNCTION()
125 absl::WriterMutexLock l(&cxt->mu); in TestRW()727 absl::WriterMutexLock lock(&mu, absl::Condition(cond_lt_10, &n)); in TEST()
580 class ABSL_SCOPED_LOCKABLE WriterMutexLock {582 explicit WriterMutexLock(Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu) in WriterMutexLock() function587 WriterMutexLock(const WriterMutexLock&) = delete;588 WriterMutexLock(WriterMutexLock&&) = delete;589 WriterMutexLock& operator=(const WriterMutexLock&) = delete;590 WriterMutexLock& operator=(WriterMutexLock&&) = delete;592 ~WriterMutexLock() ABSL_UNLOCK_FUNCTION() { this->mu_->WriterUnlock(); } in ABSL_UNLOCK_FUNCTION()
125 absl::WriterMutexLock l(&cxt->mu); in TestRW()
127 typedef MutexLock WriterMutexLock; typedef175 using internal::WriterMutexLock;
248 WriterMutexLock lock(&mutex_); in GetPrototype()
1046 WriterMutexLock l(&unknown_enum_values_mu_); in FindEnumValueByNumberCreatingIfUnknown()