60 references to _spinLock
System.Private.CoreLib (60)
src\libraries\System.Private.CoreLib\src\System\Threading\ReaderWriterLockSlim.cs (60)
149
Debug.Assert(
_spinLock
.IsHeld);
157
Debug.Assert(
_spinLock
.IsHeld);
310
_spinLock
.Enter(EnterSpinLockReason.EnterAnyRead);
320
_spinLock
.Exit();
330
_spinLock
.Exit();
336
_spinLock
.Enter(EnterSpinLockReason.EnterAnyRead);
341
_spinLock
.Exit();
350
_spinLock
.Exit();
360
_spinLock
.Exit();
383
_spinLock
.Exit();
389
_spinLock
.Exit();
392
_spinLock
.Enter(EnterSpinLockReason.EnterAnyRead);
417
_spinLock
.Exit();
467
_spinLock
.Enter(enterMyLockReason);
474
_spinLock
.Exit();
493
_spinLock
.Enter(enterMyLockReason);
500
_spinLock
.Exit();
511
_spinLock
.Exit();
566
_spinLock
.Exit();
572
_spinLock
.Exit();
575
_spinLock
.Enter(upgradingToWrite ? EnterSpinLockReason.UpgradeToWrite : EnterSpinLockReason.EnterWrite);
621
_spinLock
.Exit();
668
_spinLock
.Enter(EnterSpinLockReason.EnterAnyRead);
673
_spinLock
.Exit();
679
_spinLock
.Enter(EnterSpinLockReason.EnterAnyRead);
685
_spinLock
.Exit();
698
_spinLock
.Exit();
705
_spinLock
.Exit();
726
_spinLock
.Exit();
732
_spinLock
.Exit();
735
_spinLock
.Enter(EnterSpinLockReason.EnterAnyRead);
762
_spinLock
.Exit();
769
_spinLock
.Enter(EnterSpinLockReason.ExitAnyRead);
776
_spinLock
.Exit();
785
_spinLock
.Exit();
815
_spinLock
.Enter(EnterSpinLockReason.ExitAnyWrite);
819
_spinLock
.Enter(EnterSpinLockReason.ExitAnyWrite);
824
_spinLock
.Exit();
830
_spinLock
.Exit();
838
_spinLock
.Exit();
862
_spinLock
.Enter(EnterSpinLockReason.ExitAnyRead);
866
_spinLock
.Enter(EnterSpinLockReason.ExitAnyRead);
871
_spinLock
.Exit();
877
_spinLock
.Exit();
885
_spinLock
.Exit();
907
Debug.Assert(
_spinLock
.IsHeld);
911
_spinLock
.Exit();
935
_spinLock
.Enter(enterMyLockReason);
954
Debug.Assert(
_spinLock
.IsHeld);
1012
_spinLock
.Exit(); // Do the wait outside of any lock
1020
_spinLock
.Enter(enterMyLockReason);
1054
_spinLock
.Exit();
1067
Debug.Assert(
_spinLock
.IsHeld);
1071
_spinLock
.Exit();
1088
_spinLock
.Exit(); // Exit before signaling to improve efficiency (wakee will need the lock)
1100
_spinLock
.Exit(); // Exit before signaling to improve efficiency (wakee will need the lock)
1113
_spinLock
.Exit(); // Exit before signaling to improve efficiency (wakee will need the lock)
1129
Debug.Assert(
_spinLock
.IsHeld);
1134
_spinLock
.Exit();
1156
_spinLock
.Exit(); // Exit before signaling to improve efficiency (wakee will need the lock)