2 writes to _waitUpgradeEvent
System.Core (2)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (2)
628
LazyCreateEvent(ref
_waitUpgradeEvent
, EnterLockType.UpgradeToWrite);
1361
_waitUpgradeEvent
= null;
6 references to _waitUpgradeEvent
System.Core (6)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (6)
626
if (
_waitUpgradeEvent
== null) // Create the needed event
634
retVal = WaitOnEvent(
_waitUpgradeEvent
, ref _numWriteUpgradeWaiters, timeout, EnterLockType.UpgradeToWrite);
1169
_waitUpgradeEvent
.Set(); // release all upgraders (however there can be at most one).
1181
_waitUpgradeEvent
.Set(); // release all upgraders (however there can be at most one).
1358
if (
_waitUpgradeEvent
!= null)
1360
_waitUpgradeEvent
.Dispose();