netbsd man page for cpu_number

Query: cpu_number

OS: netbsd

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CPU_NUMBER(9)						   BSD 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
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.
SEE ALSO
curcpu(9)
BSD
April 13, 2010 BSD
Related Man Pages
kcpuset_clear(9) - netbsd
cpuset_clr(3) - netbsd
cpuset_create(3) - netbsd
cpuset_size(3) - netbsd
kcpuset_atomic_clear(9) - netbsd
Similar Topics in the Unix Linux Community
Incorrect vCPU numbering