20 lines · 563 B · Text
RawDownload
= sleep: delay     include "sys.m";    sys := load Sys Sys->PATH;     sleep:    fn(period: int): int; Sleep  suspends  the  current thread for period milliseconds.The actual suspension time may be a little more or less  thanthe requested time.  If period is 0, the process gives up theCPU if another process is waiting to run,  returning  immedi‐ately if not. Sleep  normally returns 0. In hosted Inferno it may return -1to indicate that it was not possible to sleep (eg if no  morethreads are available). == see ALSOsys-intro(2), sys-millisec(2) 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t