6 references to NextSpinWillYield
mscorlib (6)
system\Collections\Concurrent\ConcurrentStack.cs (1)
725
backoff = spin.
NextSpinWillYield
? r.Next(1, BACKOFF_MAX_YIELDS) : backoff * 2;
system\threading\SemaphoreSlim.cs (1)
347
while (m_currentCount == 0 && !spin.
NextSpinWillYield
)
system\threading\SpinLock.cs (1)
565
(millisecondsTimeout != Timeout.Infinite && spinner.
NextSpinWillYield
&&
system\threading\SpinWait.cs (3)
122
if (
NextSpinWillYield
)
185
/// This makes <see cref="SpinOnce"/> and <see cref="
NextSpinWillYield
"/> behave as though no calls
273
if (millisecondsTimeout != Timeout.Infinite && spinner.
NextSpinWillYield
)