Mercurial > hg > Members > kono > nitros9-code
view docs/nitros9guide/sleep.refentry @ 2322:61fb37b19edd
Edition #3 - for vtio instead of cc3io Willard Goosey
author | aaronwolfe |
---|---|
date | Mon, 11 Jan 2010 04:20:41 +0000 |
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 "sleep" for a number of clock ticks. It is generally used to generate time delays or to "break up" CPU-intensive jobs. The duration of a tick is 16.66 milliseconds. </para> <para> A tick count of 1 causes the process to "give up" 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>