2 references to GetProcessorCount
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Environment.cs (1)
42
public static int ProcessorCount { get; } = RuntimeFeature.IsMultithreadingSupported ?
GetProcessorCount
() : 1;
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
837
s_isSingleProcessor = Environment.
GetProcessorCount
() == 1;