delay process execution for specified time
void delay(int ticks);
function uses the
calls to block the current process
for a duration equivalent to
the specified number of clock ticks.
The exact length of the delay is not guaranteed but it will not be less
than ticks -1 clock ticks.
The length of a clock tick can vary across different implementations
so drivers should not include
any hard-coded assumptions about the length of a tick.
integer that specifies the number of
clock ticks to delay.
function does not degrade performance
as much as the
Context and synchronization
User or blockable
1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
Differences between versions
For ODDI versions prior to version 6
that do not support the high-precision system clock,
blocks the current process for the absolute number
of clock ticks that are specified.
``Clock, system'' in HDK Technical Reference
for more information about the high-precision system clock.
SVR5 DDI compatibility
function is the same as the
DDI drivers use the
functions as necessary
to convert between clock ticks and microseconds
(implementation independent units).
``Delays and busy-waits'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005