Go to the first, previous, next, last section, table of contents.


sleepJob

Control-struct: sleepJob
file: job.t
package: muf
status: alpha

The sleepJob operator puts the currently executing job to sleep for n milliseconds, by setting @$s.sleepUntilMillisec to the current date plus n and then moving it to the .etc.doz job queue:

Stack:
10000 sleepJob "*yawn* Morning already?\n" ,
*yawn* Morning already?
Stack:

Unlike unix, sleeping jobs sent signals will process them and then return to sleep until the designated time; I expect this will make coding simpler for novice programmers.


Go to the first, previous, next, last section, table of contents.