RtGetCurrentProcessorNumber

RtGetCurrentProcessorNumber returns the system-assigned number of the current processor on which the caller is running.

Syntax

DWORD RtGetCurrentProcessorNumber(VOID);

Parameters

This function has no parameters.

Return Values

A DWORD value that represents the processor on which the calling process is currently running

Remarks

The number of processors on a multi-processor machine is a zero-based value.

Requirements

Header Rtapi.h
Library Rtx_Rtss.lib
IntervalZero.com | Support | Give Feedback