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

/external/chromium_org/third_party/webrtc/base/
H A Dsharedexclusivelock.cc15 SharedExclusiveLock::SharedExclusiveLock() function in class:rtc::SharedExclusiveLock
20 void SharedExclusiveLock::LockExclusive() {
25 void SharedExclusiveLock::UnlockExclusive() {
29 void SharedExclusiveLock::LockShared() {
37 void SharedExclusiveLock::UnlockShared() {
H A Dsharedexclusivelock.h22 class LOCKABLE SharedExclusiveLock { class in namespace:rtc
24 SharedExclusiveLock();
39 DISALLOW_COPY_AND_ASSIGN(SharedExclusiveLock);
44 explicit SharedScope(SharedExclusiveLock* lock) SHARED_LOCK_FUNCTION(lock)
52 SharedExclusiveLock* lock_;
59 explicit ExclusiveScope(SharedExclusiveLock* lock)
68 SharedExclusiveLock* lock_;
H A Dsharedexclusivelock_unittest.cc32 SharedExclusiveTask(SharedExclusiveLock* shared_exclusive_lock,
47 SharedExclusiveLock* shared_exclusive_lock_;
55 ReadTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done)
88 WriteTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done)
119 // Unit test for SharedExclusiveLock.
127 shared_exclusive_lock_.reset(new SharedExclusiveLock());
131 scoped_ptr<SharedExclusiveLock> shared_exclusive_lock_;
H A Dprofiler.h134 mutable SharedExclusiveLock lock_;

Completed in 158 milliseconds