*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: cpu_idle | Section: 9 | Source: NetBSD | File: cpu_idle.9
CPU_IDLE(9) FreeBSD Kernel Developer's Manual CPU_IDLE(9) NAME cpu_idle - machine-dependent processor idling interface SYNOPSIS #include <sys/cpu.h> void cpu_idle(void); DESCRIPTION cpu_idle() is called by machine-independent code when the processor has nothing to do. It can be used to conserve the processor power, for example. cpu_idle() returns immediately if cpu_need_resched() has been called for the processor after the last call of cpu_idle() or cpu_did_resched() on the processor. cpu_idle() returns as soon as possible when cpu_need_resched() is called for the processor. Otherwise, it returns whenever it likes. cpu_idle() is called at IPL_NONE, without any locks held. EXAMPLES The simplest (and, in some cases, the best) implementation of cpu_idle() is the following. void cpu_idle(void) { /* nothing */ } SEE ALSO cpu_need_resched(9), cpu_switchto(9), intro(9), spl(9) FreeBSD 14.1-RELEASE-p8 April 20, 2007 FreeBSD 14.1-RELEASE-p8

Navigation Options