Searched refs:writers_waiting_ (Results 1 – 2 of 2) sorted by relevance
22 writers_waiting_(0) { in RWLockGeneric()37 ++writers_waiting_; in AcquireLockExclusive()41 --writers_waiting_; in AcquireLockExclusive()49 if (writers_waiting_ > 0) { in ReleaseLockExclusive()58 if (writer_active_ || writers_waiting_ > 0) { in AcquireLockShared()61 while (writer_active_ || writers_waiting_ > 0) { in AcquireLockShared()72 if (readers_active_ == 0 && writers_waiting_ > 0) { in ReleaseLockShared()
41 int writers_waiting_; variable