Home
last modified time | relevance | path

Searched refs:SharedExclusiveLock (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/base/
Dsharedexclusivelock.h22 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_;
Dsharedexclusivelock.cc15 SharedExclusiveLock::SharedExclusiveLock() in SharedExclusiveLock() function in rtc::SharedExclusiveLock
20 void SharedExclusiveLock::LockExclusive() { in LockExclusive()
25 void SharedExclusiveLock::UnlockExclusive() { in UnlockExclusive()
29 void SharedExclusiveLock::LockShared() { in LockShared()
37 void SharedExclusiveLock::UnlockShared() { in UnlockShared()
Dsharedexclusivelock_unittest.cc31 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_;
Dprofiler.h135 mutable SharedExclusiveLock lock_;