Mercurial > hg > Members > kono > nitros9-code
view docs/nitros9guide/sleep.refentry @ 3116:174eb9eda7b1
New port "mc09" for Multicomp09, an FPGA-based 6809 machine
Include new commands/descriptor for mc09 clock and SD controller
author | Neal Crook <foofoobedoo@gmail.com> |
---|---|
date | Sat, 17 Oct 2015 21:21:11 +0100 |
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>