Searched refs:ScopedRWLock (Results 1 – 1 of 1) sorted by relevance
35 template <bool write> class ScopedRWLock {37 explicit ScopedRWLock(pthread_rwlock_t* rwlock) : rwlock_(rwlock) { in ScopedRWLock() function41 ~ScopedRWLock() { in ~ScopedRWLock()47 BIONIC_DISALLOW_IMPLICIT_CONSTRUCTORS(ScopedRWLock);50 typedef ScopedRWLock<true> ScopedWriteLock;51 typedef ScopedRWLock<false> ScopedReadLock;