CPU_NUMBER(9) |
Kernel Developer's Manual |
CPU_NUMBER(9) |
NAME
cpu_number — unique CPU identification number
DESCRIPTION
The cpu_number() function returns an unique CPU identification number for the CPU that this thread is running on. It may also be implemented as a macro.