3 references to IsSingleProcessor
mscorlib (3)
system\threading\ManualResetEventSlim.cs (1)
250
SpinCount = PlatformHelper.
IsSingleProcessor
? DEFAULT_SPIN_SP : spinCount;
system\threading\SpinWait.cs (1)
110
get { return m_count > YIELD_THRESHOLD || PlatformHelper.
IsSingleProcessor
; }
system\threading\Tasks\Task.cs (1)
3359
int spinCount = PlatformHelper.
IsSingleProcessor
? 1 : System.Threading.SpinWait.YIELD_THRESHOLD; //spin only once if we are running on a single CPU