Home | History | Annotate | Download | only in stubs

Lines Matching defs:MutexLock

1121 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
1122 class LIBPROTOBUF_EXPORT MutexLock {
1124 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); }
1125 ~MutexLock() { this->mu_->Unlock(); }
1128 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MutexLock);
1132 typedef MutexLock ReaderMutexLock;
1133 typedef MutexLock WriterMutexLock;
1135 // MutexLockMaybe is like MutexLock, but is a no-op when mu is NULL.
1151 using internal::MutexLock;