IBuildEngine9.RequestCores(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.