view docs/ccguide/sleep.refentry @ 3115:460fdd304adf

term_mc6850: Include the matching IT.xxx symbols in the comments
author Neal Crook <foofoobedoo@gmail.com>
date Sat, 17 Oct 2015 21:21:11 +0100
parents 57b5e715a417
children
line wrap: on
line source

<refentry id="sleep">
<refnamediv>
<refname>Sleep</refname>
<refpurpose>stop execution for a time</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
  <funcdef><function>sleep</function></funcdef>
  <paramdef>int <parameter>seconds</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>

<refsect1><title>Description</title>
<para>
The current task is stopped for the specified time.
</para>
<para>
If "seconds" is zero, the task will sleep for one tick.
</para>
</refsect1>
</refentry>