3 instantiations of ResourceRequest
Microsoft.Build (3)
BackEnd\Shared\ResourceRequest.cs (3)
57=> new ResourceRequest(isResourceAcquire: true, globalRequestId, numCores, isBlocking); 63=> new ResourceRequest(isResourceAcquire: false, globalRequestId, numCores, isBlocking: false); 110return new ResourceRequest(translator);
17 references to ResourceRequest
Microsoft.Build (14)
BackEnd\BuildManager\BuildManager.cs (4)
605_nodeManager.RegisterPacketHandler(NodePacketType.ResourceRequest, ResourceRequest.FactoryForDeserialization, this); 1620ResourceRequest request = ExpectPacketType<ResourceRequest>(packet, NodePacketType.ResourceRequest); 2364private void HandleResourceRequest(int node, ResourceRequest request)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
1019private void Builder_OnResourceRequest(ResourceRequest request)
BackEnd\Components\BuildRequestEngine\IBuildRequestEngine.cs (1)
48internal delegate void ResourceRequestDelegate(ResourceRequest request);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
506RaiseResourceRequest(ResourceRequest.CreateAcquireRequest(_requestEntry.Request.GlobalRequestId, requestedCores, waitForCores)); 540RaiseResourceRequest(ResourceRequest.CreateReleaseRequest(_requestEntry.Request.GlobalRequestId, coresToRelease)); 1081private void RaiseResourceRequest(ResourceRequest request)
BackEnd\Node\InProcNode.cs (1)
274private void OnResourceRequest(ResourceRequest request)
BackEnd\Node\OutOfProcNode.cs (1)
414private void OnResourceRequest(ResourceRequest request)
BackEnd\Shared\ResourceRequest.cs (2)
56public static ResourceRequest CreateAcquireRequest(int globalRequestId, int numCores, bool isBlocking) 62public static ResourceRequest CreateReleaseRequest(int globalRequestId, int numCores)
BackEnd\Shared\ResourceResponse.cs (1)
9/// This packet is sent by the scheduler in response to <see cref="ResourceRequest"/> to grant resources to a node.
Microsoft.Build.Engine.UnitTests (3)
BackEnd\BuildRequestEngine_Tests.cs (3)
178public void RaiseResourceRequest(ResourceRequest request) 274private ResourceRequest _engineResourceRequest_Request; 612private void Engine_ResourceRequest(ResourceRequest request)