Next: , Previous: , Up: Miscellaneous Instructions   [Contents][Index]


22.1.31.4 Instruction sleep

Synopsys:

sleep

Sleep for a given number of seconds and nanoseconds.

If the provided number of nanoseconds are not in the range 0 to 999999999 or the number of provided seconds is negative, pushes -1.

If there is any other error performing the operation then push -2.

EINTR is treated as no error currently.

Stack: ( LONG LONG -- LONG LONG INT )