GetCurrentProcessorNumber function kernel32
Retrieves the number of the processor the current thread was running on during the call to this function.
DWORD GetCurrentProcessorNumber();
Implementation
int GetCurrentProcessorNumber() => _GetCurrentProcessorNumber();