RtGetCurrentProcessorNumber
RtGetCurrentProcessorNumber returns the system-assigned number of the current processor on which the caller is running.
Syntax
Copy
DWORD RtGetCurrentProcessorNumber(VOID);
Parameters
This function has no parameters.
Return Value
A DWORD value that represents the processor on which the calling process is currently running.
Remarks
Processor numbers are zero-based values.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
RtssApi.h | rtkrnl.lib |