Bagikan melalui


IBuildEngine9.RequestCores(Int32) Method

Definition

If a task launches multiple parallel processes, it should ask how many cores it can use.

public:
 int RequestCores(int requestedCores);
public int RequestCores (int requestedCores);
abstract member RequestCores : int -> int
Public Function RequestCores (requestedCores As Integer) As Integer

Parameters

requestedCores
Int32

The number of cores a task can potentially use.

Returns

The number of cores a task is allowed to use.

Applies to