SpinWait.cs
Go to the documentation of this file.
65 http://stackoverflow.com/questions/1413630/switchtothread-thread-yield-vs-thread-sleep0-vs-thead-sleep1
77 Disadvantage: slowest option (Thread.Sleep(1) will usually suspend the thread by about 15ms if timeBeginPeriod/timeEndPeriod [win32] are not used)
Definition: SpinWait.cs:30
Definition: AggregateException.cs:31
static void SpinUntil(Func< bool > condition)
Definition: SpinWait.cs:90
static bool SpinUntil(Func< bool > condition, int millisecondsTimeout)
Definition: SpinWait.cs:102
static bool SpinUntil(Func< bool > condition, TimeSpan timeout)
Definition: SpinWait.cs:97