6 implementations of RequestCores
Microsoft.Build (2)
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
491public int RequestCores(object monitorLockObject, int requestedCores, bool waitForCores)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
373int IRequestBuilderCallback.RequestCores(object monitorLockObject, int requestedCores, bool waitForCores)
Microsoft.Build.Engine.UnitTests (4)
BackEnd\TargetBuilder_Tests.cs (1)
1526int IRequestBuilderCallback.RequestCores(object monitorLockObject, int requestedCores, bool waitForCores)
BackEnd\TargetEntry_Tests.cs (1)
984int IRequestBuilderCallback.RequestCores(object monitorLockObject, int requestedCores, bool waitForCores)
BackEnd\TaskBuilder_Tests.cs (1)
923int IRequestBuilderCallback.RequestCores(object monitorLockObject, int requestedCores, bool waitForCores)
BackEnd\TaskHost_Tests.cs (1)
1451public int RequestCores(object monitorLockObject, int requestedCores, bool waitForCores)
3 references to RequestCores
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (1)
375return _requestBuilderCallback.RequestCores(monitorLockObject, requestedCores, waitForCores);
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
823coresAcquired = builderCallback.RequestCores(_callbackMonitor, requestedCores, waitForCores: true); 831coresAcquired = builderCallback.RequestCores(_callbackMonitor, requestedCores - 1, waitForCores: false);