Lines Matching refs:Autolock
110 // Manages the mutex automatically. It'll be locked when Autolock is
111 // constructed and released when Autolock goes out of scope.
112 class SCOPED_CAPABILITY Autolock {
114 inline explicit Autolock(Mutex& mutex) ACQUIRE(mutex) : mLock(mutex)
118 inline explicit Autolock(Mutex* mutex) ACQUIRE(mutex) : mLock(*mutex)
122 inline ~Autolock() RELEASE()
130 Autolock(const Autolock&);
131 Autolock& operator=(const Autolock&);
201 typedef Mutex::Autolock AutoMutex;