8 references to Spin
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (8)
418if (tryLockResult != TryLockResult.Spin) 445if (tryLockResult == TryLockResult.Spin) 496Debug.Assert(tryLockResult != TryLockResult.Spin); 747return TryLockResult.Spin; 1136TryLockResult result = TryLockResult.Spin; 1149if (result == TryLockResult.Spin) 1166if (result == TryLockResult.Spin && !state.HasAnySpinners) 1188return state.ShouldNotPreemptWaiters ? TryLockResult.Wait : TryLockResult.Spin;