Searched refs:SharedExclusiveLock (Results 1 – 4 of 4) sorted by relevance
22 class LOCKABLE SharedExclusiveLock {24 SharedExclusiveLock();39 RTC_DISALLOW_COPY_AND_ASSIGN(SharedExclusiveLock);44 explicit SharedScope(SharedExclusiveLock* lock) SHARED_LOCK_FUNCTION(lock) in SharedScope()52 SharedExclusiveLock* lock_;59 explicit ExclusiveScope(SharedExclusiveLock* lock) in ExclusiveScope()68 SharedExclusiveLock* lock_;
15 SharedExclusiveLock::SharedExclusiveLock() in SharedExclusiveLock() function in rtc::SharedExclusiveLock20 void SharedExclusiveLock::LockExclusive() { in LockExclusive()25 void SharedExclusiveLock::UnlockExclusive() { in UnlockExclusive()29 void SharedExclusiveLock::LockShared() { in LockShared()37 void SharedExclusiveLock::UnlockShared() { in UnlockShared()
31 SharedExclusiveTask(SharedExclusiveLock* shared_exclusive_lock, in SharedExclusiveTask()46 SharedExclusiveLock* shared_exclusive_lock_;54 ReadTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done) in ReadTask()87 WriteTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done) in WriteTask()126 shared_exclusive_lock_.reset(new SharedExclusiveLock()); in SetUp()130 scoped_ptr<SharedExclusiveLock> shared_exclusive_lock_;
135 mutable SharedExclusiveLock lock_;