17 references to SpinWait
mscorlib (7)
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1009
Thread.
SpinWait
(20); // Wait a few dozen instructions to let another processor release lock.
system\threading\ManualResetEventSlim.cs (1)
603
Thread.
SpinWait
(4 << i);
system\threading\SpinLock.cs (1)
385
Thread.
SpinWait
((turn + i) * SPINNING_FACTOR * processFactor);
system\threading\SpinWait.cs (2)
67
/// cref="System.Threading.Thread.
SpinWait
"/> method.
174
Thread.
SpinWait
(4 << m_count);
system\threading\Tasks\Task.cs (1)
3373
Thread.
SpinWait
(4 << i);
system\threading\threadpool.cs (1)
1032
Thread.
SpinWait
(1); // yield to processor
System (6)
net\System\Net\_LazyAsyncResult.cs (1)
520
Thread.
SpinWait
(1);
net\System\Net\_SafeNetHandles.cs (1)
2533
Thread.
SpinWait
(1);
net\System\Net\HttpListener.cs (1)
2731
Thread.
SpinWait
(1);
net\System\Net\HttpWebRequest.cs (2)
1594
Thread.
SpinWait
(1);
2258
Thread.
SpinWait
(1);
net\System\Net\Sockets\Socket.cs (1)
6255
Thread.
SpinWait
(1);
System.Core (3)
System\IO\BufferedStream2.cs (1)
139
Thread.
SpinWait
(1);
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (2)
1311
Thread.
SpinWait
(LockSpinCycles * spinCount);
1662
Thread.
SpinWait
(LockSpinCycles * (spinIndex + 1)); // Wait a few dozen instructions to let another processor release lock.
System.Web (1)
Util\ReadWriteSpinLock.cs (1)
348
Thread.
SpinWait
(10);