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