Table of Contents
The
function suspends execution of the calling process for of time. System
activity or time spent in processing the call may lengthen the sleep slightly.
If a timer is already running on the process its state is saved. If the
value is more than or equal to the remaining clock time for the saved
timer, the sleep time is set to the remaining clock time. The state of the
previous timer is restored after has passed. This routine is implemented
using it requires eight system calls each time it is invoked. A similar
but less compatible function can be obtained with a single such a function
would not restart after signals, but would not interfere with other uses
of
The function appeared in
Table of Contents