Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

delay(9r) [osf1 man page]

DELAY(9r)																 DELAY(9r)

NAME
DELAY - General: Delays the calling routine a specified number of microseconds SYNOPSIS
void DELAY( int Specifies n ); ARGUMENTS
Specifies the number of microseconds for the calling process to spin. DESCRIPTION
The DELAY routine delays the calling routine a specified number of microseconds. DELAY spins, waiting for the specified number of microseconds to pass before continuing execution. For example, the following code results in a 10000-microsecond (10-millisecond) delay: . . . DELAY(10000); . . . The range of delays is system dependent, due to its relation to the granularity of the system clock. The system defines the number of clock ticks per second in the hz variable. Specifying any value smaller than 1 Hz to the DELAY routine results in an unpredictable delay. For any delay value, the actual delay may vary by plus or minus one clock tick. Using the DELAY routine is discouraged because the processor will be consumed for the specified time interval and therefore is unavailable to service other processes. In cases where kernel modules need timing mechanisms, you should use the sleep and timeout routines instead of the DELAY routine. The most common usage of the DELAY routine is in the system boot path. Using DELAY in the boot path is often acceptable because there are no other processes in contention for the processor. RETURN VALUES
None SEE ALSO
Routines: sleep(9r), timeout(9r) DELAY(9r)

Check Out this Related Man Page

distccmon-text(1)					      General Commands Manual						 distccmon-text(1)

NAME
distccmon-text - Displays current compilation jobs in text form. SYNTAX
distccmon-text [DELAY] DESCRIPTION
Displays current compilation jobs in text form. distccmon-text must be run on the client machine, with the same setting for DISTCC_DIR (or home directory) as the user running the distcc client. OPTIONS
DELAY repeatedly updates after delay (fractional) seconds. OUTPUT FORMAT
The output of distccmon-text contains one line for each job currently being compiled. Each line contains the following columns: PID ID of the distcc client process. STATE Identifies the phase of operation. In order these may be "Startup", "Blocked", "Connected", "Preprocess", "Conect", "Send", "Receive" and "Done". FILE The input filename, if known. HOST[SLOT] The compile hostname. May be followed in square brackets by the slot index for that host. When a delay is specified, each block of output is terminated by a blank line. EXAMPLES
To display currently active jobs (updated every second): distccmon-text 1 To display the status once: distccmon-text AUTHORS
distcc was written by Martin Pool <mbp@sourcefrog.net>, with the co-operation of many scholars including Wayne Davison, Frerich Raabe, Dimitri Papadopoulos and others noted in the NEWS file. Please report bugs to <distcc@lists.samba.org>. SEE ALSO
distccd(1), ccache(1), gcc(1), make(1) http://code.google.com/p/distcc/ http://ccache.samba.org/ 2 October 2004 distccmon-text(1)
Man Page