delay(9) netbsd man page | unix.com

Man Page: delay

Operating Environment: netbsd

Section: 9

DELAY(9)						   BSD Kernel Developer's Manual						  DELAY(9)

NAME
delay, DELAY -- microsecond delay
SYNOPSIS
#include <machine/param.h> void delay(unsigned int us); void DELAY(unsigned int us);
DESCRIPTION
Wait approximately us microseconds. The delay is implemented as a machine loop, preventing events other than interrupt handlers for unmasked interrupts to run. DELAY() is reen- trant (doesn't modify any global kernel or machine state) and is safe to use in interrupt or process context. For long delays, condition variables should be considered, however they can only be used from process context and their resolution is limited by the system clock frequency.
SEE ALSO
condvar(9), hz(9), kpause(9)
BSD
July 20, 2011 BSD
Related Man Pages
gnome-session(1) - redhat
drv_usecwait(9f) - centos
drv_usecwait(9f) - suse
drv_usecwait(9f) - posix
drv_usecwait(9f) - linux
Similar Topics in the Unix Linux Community
How do I do a short delay (milliseconds) in a shell script?
Openserver 5.0.5 - logon delay
Solaris 9 - SSH 40 Second Delay
SSH and telnet long delay to recieve prompt.
Sendmail delay: 3 mins 11 secs... Every time.