56 references to SpinOnce
mscorlib (39)
system\Collections\Concurrent\ConcurrentQueue.cs (12)
286
spin.
SpinOnce
();
376
spin.
SpinOnce
();
512
spin.
SpinOnce
();
527
spin.
SpinOnce
();
542
spin.
SpinOnce
();
557
spin.
SpinOnce
();
585
spin.
SpinOnce
();
838
spinLocal.
SpinOnce
();
864
spinLocal.
SpinOnce
();
874
spin.
SpinOnce
();
897
spin.
SpinOnce
();
916
spin.
SpinOnce
();
system\Collections\Concurrent\ConcurrentStack.cs (2)
455
spin.
SpinOnce
();
722
spin.
SpinOnce
();
system\collections\concurrent\PartitionerStatic.cs (1)
808
while( m_activeCopiers > 0) sw.
SpinOnce
();
system\threading\CancellationTokenSource.cs (1)
946
sw.
SpinOnce
(); //spin as we assume callback execution is fast and that this situation is rare.
system\threading\CountdownEvent.cs (2)
263
spin.
SpinOnce
();
377
spin.
SpinOnce
();
system\threading\ManualResetEventSlim.cs (1)
787
sw.
SpinOnce
();
system\threading\SemaphoreSlim.cs (1)
349
spin.
SpinOnce
();
system\threading\SpinLock.cs (2)
505
spinner.
SpinOnce
();
536
spinner.
SpinOnce
();
system\threading\SpinWait.cs (9)
91
/// Gets the number of times <see cref="
SpinOnce
"/> has been called on this instance.
99
/// Gets whether the next call to <see cref="
SpinOnce
"/> will yield the processor, triggering a
102
/// <value>Whether the next call to <see cref="
SpinOnce
"/> will yield the processor, triggering a
105
/// On a single-CPU machine, <see cref="
SpinOnce
"/> always yields the processor. On machines with
106
/// multiple CPUs, <see cref="
SpinOnce
"/> may yield after an unspecified number of calls.
118
/// <see cref="
SpinOnce
"/> has been called thus far on this instance.
185
/// This makes <see cref="
SpinOnce
"/> and <see cref="NextSpinWillYield"/> behave as though no calls
186
/// to <see cref="
SpinOnce
"/> had been issued on this instance. If a <see cref="SpinWait"/> instance
271
spinner.
SpinOnce
();
system\threading\Tasks\ParallelLoopState.cs (3)
228
wait.
SpinOnce
();
271
wait.
SpinOnce
();
446
sw.
SpinOnce
();
system\threading\Tasks\Task.cs (3)
824
sw.
SpinOnce
();
839
sw.
SpinOnce
();
872
sw.
SpinOnce
();
system\threading\Tasks\TaskCompletionSource.cs (1)
139
sw.
SpinOnce
();
system\threading\threadpool.cs (1)
538
spinner.
SpinOnce
();
System (12)
sys\system\collections\concurrent\BlockingCollection.cs (5)
473
while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.
SpinOnce
();
481
spinner.
SpinOnce
();
1505
while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.
SpinOnce
();
1512
while (m_currentAdders != COMPLETE_ADDING_ON_MASK) spinner.
SpinOnce
();
1525
spinner.
SpinOnce
();
sys\system\collections\concurrent\ConcurrentBag.cs (2)
446
spinner.
SpinOnce
();
854
spinner.
SpinOnce
();
sys\system\threading\Barrier.cs (5)
408
spinner.
SpinOnce
();
493
spinner.
SpinOnce
();
697
spinner.
SpinOnce
();
765
spinner.
SpinOnce
();
879
spinner.
SpinOnce
();
System.Core (5)
System\IO\Pipes\Pipe.cs (5)
1193
sw.
SpinOnce
();
1220
sw.
SpinOnce
();
1310
sw.
SpinOnce
();
1319
sw.
SpinOnce
();
1345
sw.
SpinOnce
();