27 #ifndef __SB_AUTORWLOCK_H__
28 #define __SB_AUTORWLOCK_H__
53 static void*
operator new(
size_t ) CPP_THROW_NEW {
56 static void operator delete(
void* ) {}
75 PR_RWLock_Rlock(mLock);
80 PR_RWLock_Unlock(mLock);
90 PR_RWLock_Rlock(mLock);
102 PR_RWLock_Unlock(mLock);
117 PR_RWLock_Unlock(mLock);
121 PR_RWLock_Rlock(mLock);
144 static void*
operator new(
size_t ) CPP_THROW_NEW {
147 static void operator delete(
void* ) {}
166 PR_RWLock_Wlock(mLock);
171 PR_RWLock_Unlock(mLock);
181 PR_RWLock_Wlock(mLock);
193 PR_RWLock_Unlock(mLock);
208 PR_RWLock_Unlock(mLock);
212 PR_RWLock_Wlock(mLock);
sbAutoReadUnlock(PRRWLock *lock)
sbAutoWriteLock(PRRWLock *aLock)
sbAutoWriteUnlock(PRRWLock *lock)
sbAutoReadLock(PRRWLock *aLock)