Home | History | Annotate | Download | only in base

Lines Matching refs:MutexLock

187   // Catch the error of writing Mutex when intending MutexLock.
285 // MutexLock(mu) acquires mu when constructed and releases it when destroyed.
286 class MutexLock {
288 explicit MutexLock(Mutex *mu) : mu_(mu) { mu_->Lock(); }
289 ~MutexLock() { mu_->Unlock(); }
293 MutexLock(const MutexLock&);
294 void operator=(const MutexLock&);
320 // Catch bug where variable name is omitted, e.g. MutexLock (&mu);
321 #define MutexLock(x) COMPILE_ASSERT(0, mutex_lock_decl_missing_var_name)