Home
last modified time | relevance | path

Searched refs:readers_active_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Drw_lock_generic.cc19 : readers_active_(0), in RWLockGeneric()
36 if (writer_active_ || readers_active_ > 0) { in AcquireLockExclusive()
38 while (writer_active_ || readers_active_ > 0) { in AcquireLockExclusive()
66 ++readers_active_; in AcquireLockShared()
71 --readers_active_; in ReleaseLockShared()
72 if (readers_active_ == 0 && writers_waiting_ > 0) { in ReleaseLockShared()
Drw_lock_generic.h38 int readers_active_; variable