cpu_number(9) - NetBSD Manual Pages

Command: Section: Arch: Collection:  
CPU_NUMBER(9)          NetBSD Kernel Developer's Manual          CPU_NUMBER(9)


NAME
cpu_number -- unique CPU identification number
SYNOPSIS
#include <sys/types.h> #include <machine/cpu.h> cpuid_t cpu_number(void);
DESCRIPTION
cpu_number() returns the unique CPU identification number for the CPU that this thread is running on.
SEE ALSO
curcpu(9) NetBSD 5.0.1 May 23, 2002 NetBSD 5.0.1
Powered by man-cgi (2024-03-20). Maintained for NetBSD by Kimmo Suominen. Based on man-cgi by Panagiotis Christias.