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