Searched refs:ReaderMutexLock (Results 1 – 2 of 2) sorted by relevance
49 class __attribute__((scoped_lockable)) ReaderMutexLock { class51 ReaderMutexLock(Mutex *mu) __attribute__((exclusive_lock_function(mu)));52 ~ReaderMutexLock() __attribute__((unlock_function));
39 class SCOPED_LOCKABLE ReaderMutexLock { class41 ReaderMutexLock(Mutex *mu) SHARED_LOCK_FUNCTION(mu);42 ReaderMutexLock(Mutex *mu, bool adopt) SHARED_LOCKS_REQUIRED(mu);43 ~ReaderMutexLock() UNLOCK_FUNCTION();1687 ReaderMutexLock mulock1(&mu1); in foo2()3035 ReaderMutexLock outer(&mu); in innerUnlockShared()3245 ReaderMutexLock lock(getMutexPtr().get()); in test()5741 ReaderMutexLock slock(&mu, true); in test2()5751 ReaderMutexLock slock(&mu, true); in test4()