2 writes to _coreLimit
Microsoft.Build (2)
BackEnd\Components\Scheduler\Scheduler.cs (2)
211
if (!int.TryParse(Environment.GetEnvironmentVariable("MSBUILDCORELIMIT"), out
_coreLimit
) || _coreLimit <= 0)
213
_coreLimit
= NativeMethodsShared.GetLogicalCoreCount();
2 references to _coreLimit
Microsoft.Build (2)
BackEnd\Components\Scheduler\Scheduler.cs (2)
211
if (!int.TryParse(Environment.GetEnvironmentVariable("MSBUILDCORELIMIT"), out _coreLimit) ||
_coreLimit
<= 0)
1413
return Math.Max(0,
_coreLimit
- (implicitlyGrantedCores + explicitlyGrantedCores));