delay running processes
void suspend(unsigned int microsecs);
function delays the running process by
It causes the processor to busy-wait
until the required time interval has elapsed.
Number of microseconds to delay execution.
implements a timed ``buzz loop'',
which can seriously degrade system performance.
should be used only when the
function cannot be called.
The processor spl level is unchanged
so interrupts are serviced as normal.
If an interrupt fielded by the spinning processor
takes longer than 20 milliseconds to complete,
the delay time will be adversely affected.
Context and synchronization
1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
SVR5 DDI compatibility
provides similar functionality
for DDI drivers.
``Delays and busy-waits'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005