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)
775config.ResultsNodeId = Scheduler.InvalidNodeId; 2097HandleNewRequest(Scheduler.VirtualNode, blocker); 2613if (node == Scheduler.VirtualNode) 2911BuildEventContext buildEventContext = new BuildEventContext(0, Scheduler.VirtualNode, BuildEventContext.InvalidProjectInstanceId, BuildEventContext.InvalidProjectContextId, BuildEventContext.InvalidTargetId, BuildEventContext.InvalidTaskId);
BackEnd\BuildManager\CacheAggregator.cs (1)
81newConfig.ResultsNodeId = Scheduler.InvalidNodeId;
BackEnd\Components\BuildComponentFactoryCollection.cs (1)
63_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; 628if (nodeBuildEventContext.NodeId == Scheduler.InProcNodeId)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
569Scheduler.InProcNodeId);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1096return resultsNodeId != Scheduler.InvalidNodeId && resultsNodeId != currentNodeId;
BackEnd\Components\Scheduler\SchedulableRequest.cs (2)
401ErrorUtilities.VerifyThrow(_assignedNodeId == Scheduler.InvalidNodeId || _assignedNodeId == nodeId, "Request must always resume on the same node on which it was started."); 408ErrorUtilities.VerifyThrow(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)
1563if (assignedNodeForConfiguration != Scheduler.InvalidNodeId) 1803if (assignedNodeId != Scheduler.InvalidNodeId) 2718public TraceInterpolatedStringHandler(int literalLength, int formattedCount, Scheduler scheduler, out bool isEnabled)
BackEnd\Components\Scheduler\SchedulingData.cs (2)
628return Scheduler.InvalidNodeId; 645return requiredNodeId == Scheduler.InvalidNodeId || requiredNodeId == nodeId;
BackEnd\Shared\BuildRequestConfiguration.cs (1)
131private int _resultsNodeId = Scheduler.InvalidNodeId;