1 instantiation of Scheduler
Microsoft.Build (1)
BackEnd\Components\Scheduler\Scheduler.cs (1)
711return new Scheduler();
20 references to Scheduler
Microsoft.Build (20)
BackEnd\BuildManager\BuildManager.cs (4)
798config.ResultsNodeId = Scheduler.InvalidNodeId; 2120HandleNewRequest(Scheduler.VirtualNode, blocker); 2631if (node == Scheduler.VirtualNode) 2929BuildEventContext buildEventContext = new BuildEventContext(0, Scheduler.VirtualNode, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
BackEnd\BuildManager\CacheAggregator.cs (1)
80newConfig.ResultsNodeId = Scheduler.InvalidNodeId;
BackEnd\Components\BuildComponentFactoryCollection.cs (1)
62_componentEntriesByType[BuildComponentType.Scheduler] = new BuildComponentEntry(BuildComponentType.Scheduler, Scheduler.CreateComponent, CreationPattern.Singleton);
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (2)
406if (!_componentHost.BuildParameters.MultiThreaded && _componentHost.BuildParameters.NodeId != Scheduler.InProcNodeId) 408config.ResultsNodeId = Scheduler.ResultsTransferredId;
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
488int nodeId = Scheduler.InProcNodeId; 629Scheduler.InProcNodeId,
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
562Scheduler.InProcNodeId);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1095return resultsNodeId != Scheduler.InvalidNodeId && resultsNodeId != currentNodeId;
BackEnd\Components\Scheduler\SchedulableRequest.cs (2)
400Assumed.True(_assignedNodeId == Scheduler.InvalidNodeId || _assignedNodeId == nodeId, "Request must always resume on the same node on which it was started."); 407Assumed.True(requiredNodeId == Scheduler.InvalidNodeId || requiredNodeId == nodeId, $"Request {_request.GlobalRequestId} cannot be assigned to node {nodeId} because its configuration is already assigned to node {requiredNodeId}");
BackEnd\Components\Scheduler\Scheduler.cs (3)
1561if (assignedNodeForConfiguration != Scheduler.InvalidNodeId) 1801if (assignedNodeId != Scheduler.InvalidNodeId) 2712public TraceInterpolatedStringHandler(int literalLength, int formattedCount, Scheduler scheduler, out bool isEnabled)
BackEnd\Components\Scheduler\SchedulingData.cs (2)
627return Scheduler.InvalidNodeId; 644return requiredNodeId == Scheduler.InvalidNodeId || requiredNodeId == nodeId;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
131private int _resultsNodeId = Scheduler.InvalidNodeId;