Lines Matching refs:Autolock
104 // Manages the mutex automatically. It'll be locked when Autolock is
105 // constructed and released when Autolock goes out of scope.
106 class SCOPED_CAPABILITY Autolock {
108 inline explicit Autolock(RgaMutex &mutex) ACQUIRE(mutex) : mLock(mutex)
112 inline explicit Autolock(RgaMutex *mutex) ACQUIRE(mutex) : mLock(*mutex)
116 inline ~Autolock() RELEASE()
124 Autolock(const Autolock &);
125 Autolock &operator=(const Autolock &);
195 typedef RgaMutex::Autolock AutoMutex;