Lines Matching refs:RWLock
42 class RWLock {
49 RWLock();
50 RWLock(const char* name);
51 RWLock(int type, const char* name = NULL);
52 ~RWLock();
62 inline AutoRLock(RWLock& rwlock) : mLock(rwlock) { mLock.readLock(); } in AutoRLock()
65 RWLock& mLock;
70 inline AutoWLock(RWLock& rwlock) : mLock(rwlock) { mLock.writeLock(); } in AutoWLock()
73 RWLock& mLock;
78 RWLock(const RWLock&);
79 RWLock& operator = (const RWLock&);
84 inline RWLock::RWLock() { in RWLock() function
87 inline RWLock::RWLock(__attribute__((unused)) const char* name) { in RWLock() function
90 inline RWLock::RWLock(int type, __attribute__((unused)) const char* name) { in RWLock() function
101 inline RWLock::~RWLock() { in ~RWLock()
104 inline status_t RWLock::readLock() { in readLock()
107 inline status_t RWLock::tryReadLock() { in tryReadLock()
110 inline status_t RWLock::writeLock() { in writeLock()
113 inline status_t RWLock::tryWriteLock() { in tryWriteLock()
116 inline void RWLock::unlock() { in unlock()