view docs/nitros9guide/sleep.refentry @ 2798:b70d93f8d7ce lwtools-port

Updated coco1/modules/makefile and coco3/modules/makefile to help resolve issues with i(x) and s(x) descriptors. Updated level1/coco1/modules/makefile & level2/coco3/modules/makefile so that correct values would be sent to assembler when building superdesc.asm for s(x).dd and i(x).dd descriptors.
author drencor-xeen
date Mon, 28 Jan 2013 16:13:05 -0600
parents 4dae346c4969
children
line wrap: on
line source

<refentry id="sleep">
<refnamediv>
<refname>SLEEP</refname>
<refpurpose>Suspend process for period of time</refpurpose>
</refnamediv>

<refsynopsisdiv>
<cmdsynopsis>
<command>sleep</command>
<arg choice="plain">
  <replaceable>tickcount</replaceable>
</arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
This command puts the user's process to &quot;sleep&quot; for a number of
clock ticks. It is generally used to generate time delays or to
&quot;break up&quot; CPU-intensive jobs. The duration of a tick is 16.66
milliseconds.
</para>
<para>
A tick count of 1 causes the process to &quot;give up&quot; its current time
slide. A tick count of zero causes the process to sleep
indefinitely (usually awakened by a signal)

</para>
</refsect1>
<refsect1><title>Examples</title>
<screen>
OS9: sleep 25
</screen>
</refsect1>
</refentry>