annotate docs/nitros9guide/sleep.refentry @ 321:2c0ddf807efa

Made some changes
author boisy
date Tue, 23 Jul 2002 23:43:29 +0000
parents d9631713b7cd
children c565a4700689
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
1 <refentry id="sleep">
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
2 <refnamediv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
3 <refname>SLEEP</refname>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
4 <refpurpose>Suspend process for period of time</refpurpose>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
5 </refnamediv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
6
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
7 <refsynopsisdiv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
8 <cmdsynopsis>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
9 <command>SLEEP</command>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
10 <arg choice="plain">
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
11 &replstart;tick count&replend;
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
12 </arg>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
13 </cmdsynopsis>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
14 </refsynopsisdiv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
15
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
16 <refsect1><title>Description</title>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
17 <para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
18 This command puts the user's process to &quot;sleep&quot; for a number of
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
19 clock ticks. It is generally used to generate time delays or to
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
20 &quot;break up&quot; CPU-intensive jobs. The duration of a tick is 16.66
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
21 milliseconds.
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
22 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
23 <para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
24 A tick count of 1 causes the process to &quot;give up&quot; its current time
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
25 slide. A tick count of zero causes the process to sleep
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
26 indefinitely (usually awakened by a signal)
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
27
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
28 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
29 </refsect1>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
30 <refsect1><title>Examples</title>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
31 <screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
32 OS9: sleep 25
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
33 </screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
34 </refsect1>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
35 </refentry>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
36