HomeSort by relevance Sort by last modified time
    Searched refs:SharedExclusiveLock (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/third_party/webrtc/base/
sharedexclusivelock.cc 11 #include "webrtc/base/sharedexclusivelock.h"
15 SharedExclusiveLock::SharedExclusiveLock()
20 void SharedExclusiveLock::LockExclusive() {
25 void SharedExclusiveLock::UnlockExclusive() {
29 void SharedExclusiveLock::LockShared() {
37 void SharedExclusiveLock::UnlockShared() {
sharedexclusivelock.h 22 class LOCKABLE SharedExclusiveLock {
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_;
sharedexclusivelock_unittest.cc 16 #include "webrtc/base/sharedexclusivelock.h"
32 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_;
profiler.h 40 #include "webrtc/base/sharedexclusivelock.h"
134 mutable SharedExclusiveLock lock_;

Completed in 2610 milliseconds