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

  /external/chromium_org/third_party/libjingle/source/talk/base/
sharedexclusivelock.cc 28 #include "talk/base/sharedexclusivelock.h"
32 SharedExclusiveLock::SharedExclusiveLock()
37 void SharedExclusiveLock::LockExclusive() {
42 void SharedExclusiveLock::UnlockExclusive() {
46 void SharedExclusiveLock::LockShared() {
54 void SharedExclusiveLock::UnlockShared() {
sharedexclusivelock.h 39 class SharedExclusiveLock {
41 SharedExclusiveLock();
56 DISALLOW_COPY_AND_ASSIGN(SharedExclusiveLock);
61 explicit SharedScope(SharedExclusiveLock* lock) : lock_(lock) {
70 SharedExclusiveLock* lock_;
77 explicit ExclusiveScope(SharedExclusiveLock* lock) : lock_(lock) {
86 SharedExclusiveLock* lock_;
sharedexclusivelock_unittest.cc 33 #include "talk/base/sharedexclusivelock.h"
48 SharedExclusiveTask(SharedExclusiveLock* shared_exclusive_lock,
63 SharedExclusiveLock* shared_exclusive_lock_;
71 ReadTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done)
104 WriteTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done)
135 // Unit test for SharedExclusiveLock.
143 shared_exclusive_lock_.reset(new SharedExclusiveLock());
147 scoped_ptr<SharedExclusiveLock> shared_exclusive_lock_;
profiler.h 57 #include "talk/base/sharedexclusivelock.h"
151 mutable SharedExclusiveLock lock_;
  /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 SharedExclusiveLock {
24 SharedExclusiveLock();
39 DISALLOW_COPY_AND_ASSIGN(SharedExclusiveLock);
44 explicit SharedScope(SharedExclusiveLock* lock) : lock_(lock) {
53 SharedExclusiveLock* lock_;
60 explicit ExclusiveScope(SharedExclusiveLock* lock) : lock_(lock) {
69 SharedExclusiveLock* lock_;
sharedexclusivelock_unittest.cc 16 #include "webrtc/base/sharedexclusivelock.h"
31 SharedExclusiveTask(SharedExclusiveLock* shared_exclusive_lock,
46 SharedExclusiveLock* shared_exclusive_lock_;
54 ReadTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done)
87 WriteTask(SharedExclusiveLock* shared_exclusive_lock, int* value, bool* done)
118 // Unit test for SharedExclusiveLock.
126 shared_exclusive_lock_.reset(new SharedExclusiveLock());
130 scoped_ptr<SharedExclusiveLock> shared_exclusive_lock_;
profiler.h 40 #include "webrtc/base/sharedexclusivelock.h"
134 mutable SharedExclusiveLock lock_;

Completed in 77 milliseconds