Download IBM RT PC Virtual Resource Manager Programming Reference

Transcript
Wait for Interval Timer (_sleep)
Description: The wait function, unavailable to device drivers, places the process in the wait state
until the timer interval expires.
Even if a queue element arrives in one of the process’ queues while the process
is waiting for the timer, the process will not re-enter the ready state. Note that if
_settmr requested a queue element, you should use _wait or _waitq to wait for the
timer to expire, not _sleep.
Subroutine Call:
Return Code = _sleep;
Return Codes:
0 = Successful.
Termination: The VRM abends the system when the wait function is called by a device driver.
VRM Programming Interfaces
5-73