1 write to _numUpgradeWaiters
System.Core (1)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (1)
808
retVal = WaitOnEvent(_upgradeEvent, ref
_numUpgradeWaiters
, timeout, EnterLockType.UpgradeableRead);
4 references to _numUpgradeWaiters
System.Core (4)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (4)
1116
if (_numWriteWaiters == 0 && _numWriteUpgradeWaiters == 0 &&
_numUpgradeWaiters
== 0 && _numReadWaiters == 0)
1218
Debug.Assert(_numReadWaiters != 0 ||
_numUpgradeWaiters
!= 0);
1221
bool setUpgradeEvent =
_numUpgradeWaiters
!= 0 && _upgradeLockOwnerId == -1;
1503
return (int)
_numUpgradeWaiters
;