[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

delay Kernel Service

Purpose

Suspends the calling process for the specified number of timer ticks.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
void delay 
(ticks)
int ticks;

Parameter

ticks Specifies the number of timer ticks that must occur before the process is reactivated. Many timer ticks can occur per second.

Description

The delay kernel service suspends the calling process for the number of timer ticks specified by the ticks parameter.

The HZ value in the /usr/include/sys/m_param.h file can be used to determine the number of ticks per second.

Execution Environment

The delay kernel service can be called from the process environment only.

Return Values

The delay service has no return values.

Implementation Specifics

The delay kernel service is part of Base Operating System (BOS) Runtime.

Related Information

Timer and Time-of-Day Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]