[Top] [Prev] [Next] [Bottom]
sleep - delay execution
sleep: fn(period: int): int;
## returns 0 if successful.
Description
The sleep function suspends the current thread for period milliseconds. The actual suspension time may be a little more or less than the requested time. If period is 0, the process gives up the CPU if another process is waiting to run, returning immediately if not.
See Also
millisec - millisecond timer
[Top] [Prev] [Next] [Bottom]
infernosupport@lucent.com
Copyright © 1997, Lucent Technologies, Inc.. All rights
reserved.