view docs/ccguide/pause.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 0e448b7f9353
children
line wrap: on
line source

<refentry id="pause">
<refnamediv>
<refname>Pause</refname>
<refpurpose>halt and wait for interrupt</refpurpose>
</refnamediv>

<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
  <funcdef><function>pause</function></funcdef>
  <void/>
</funcprototype>
</funcsynopsis>

</refsynopsisdiv>

<refsect1><title>Assembler Equivalent</title>
<para>
os9 I$SLEEP (with a value of 0)
</para>
</refsect1>

<refsect1><title>Description</title>
<para>
Pause may be used to halt a task until an interrupt is received
from "kill".
</para>
<para>
Pause always returns -1.
</para>
</refsect1>

<refsect1><title>See Also</title>
<para>
<link linkend="kill">kill()</link>,
<link linkend="signal">signal()</link>,
OS-9 shell command "kill"
</para>
</refsect1>

</refentry>