Home | History | Annotate | Download | only in stubs

Lines Matching refs:MutexLock

74 // MutexLock implementation.
76 #undef MutexLock
81 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
82 class LIBPROTOBUF_EXPORT MutexLock {
84 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
85 ~MutexLock() { this->mu_->Unlock(); }
88 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
92 typedef MutexLock ReaderMutexLock;
93 typedef MutexLock WriterMutexLock;
95 // MutexLockMaybe is like MutexLock, but is a no-op when mu is NULL.
139 using internal::MutexLock;