RtGetCurrentProcessorNumber
RtGetCurrentProcessorNumber returns the system-assigned number of the current processor on which the caller is running. Note that this is only supported on Real-time applications. To build a Windows and RTSS call, use GetCurrentProcessorNumber.
Syntax
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 |
|---|---|---|
|
wRTOS 1.0 SDK |
RtssApi.h |
Startup.lib |