1 write to _numWriteWaiters
System.Core (1)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (1)
649
retVal = WaitOnEvent(_writeEvent, ref
_numWriteWaiters
, timeout, EnterLockType.Write);
7 references to _numWriteWaiters
System.Core (7)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (7)
1086
if (
_numWriteWaiters
== 1)
1116
if (
_numWriteWaiters
== 0 && _numWriteUpgradeWaiters == 0 && _numUpgradeWaiters == 0 && _numReadWaiters == 0)
1119
if (
_numWriteWaiters
== 0)
1183
else if (readercount == 0 &&
_numWriteWaiters
> 0)
1212
if (
_numWriteWaiters
!= 0 || _numWriteUpgradeWaiters != 0 || HasNoWaiters)
1291
return HasNoWaiters || (
_numWriteWaiters
== 0 && _numWriteUpgradeWaiters == 0);
1511
return (int)
_numWriteWaiters
;