RtfwSetDefaultIdealProcessor

The RtfwSetDefaultIdealProcessor function sets the default core where the subsystem will run a process' main thread unless an ideal processor is provided when running the process.

Syntax

Copy
bool RtfwSetDefaultIdealProcessor(
    [in] DWORD DefaultIdealProcessor
);

Parameters

[in] DefaultIdealProcessor

The identifier of the default ideal processor.

Return Value

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.

Remarks

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtfwApi.h

RtfwApi.lib

See Also: