sys-sleep man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

SYS-SLEEP(2)							  SYS-SLEEP(2)

NAME
       sleep - delay

SYNOPSIS
       include "sys.m";
       sys := load Sys Sys->PATH;

       sleep:	 fn(period: int): int;

DESCRIPTION
       Sleep  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.

       Sleep normally returns 0. In hosted Inferno it may return -1  to	 indi‐
       cate  that  it  was  not	 possible  to sleep (eg if no more threads are
       available).

SEE ALSO
       sys-intro(2), sys-millisec(2)

								  SYS-SLEEP(2)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net