Home
last modified time | relevance | path

Searched refs:rw_lock_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/system_wrappers/include/
Drw_lock_wrapper.h39 : rw_lock_(rw_lock) { in ReadLockScoped()
40 rw_lock_.AcquireLockShared(); in ReadLockScoped()
44 rw_lock_.ReleaseLockShared(); in UNLOCK_FUNCTION()
48 RWLockWrapper& rw_lock_;
54 : rw_lock_(rw_lock) { in WriteLockScoped()
55 rw_lock_.AcquireLockExclusive(); in WriteLockScoped()
59 rw_lock_.ReleaseLockExclusive(); in UNLOCK_FUNCTION()
63 RWLockWrapper& rw_lock_;
/external/webrtc/webrtc/system_wrappers/source/
Dfile_impl.cc32 : rw_lock_(RWLockWrapper::CreateRWLock()), in FileWrapperImpl()
50 WriteLockScoped write(*rw_lock_); in CloseFile()
55 WriteLockScoped write(*rw_lock_); in Rewind()
66 WriteLockScoped write(*rw_lock_); in SetMaxFileSize()
72 WriteLockScoped write(*rw_lock_); in Flush()
77 ReadLockScoped read(*rw_lock_); in FileName()
97 ReadLockScoped read(*rw_lock_); in Open()
103 WriteLockScoped write(*rw_lock_); in OpenFile()
172 WriteLockScoped write(*rw_lock_); in OpenFromFileHandle()
192 WriteLockScoped write(*rw_lock_); in Read()
[all …]
Dfile_impl.h55 rtc::scoped_ptr<RWLockWrapper> rw_lock_; variable