466
|
1 <refentry id="pause">
|
|
2 <refnamediv>
|
468
|
3 <refname>Pause</refname>
|
|
4 <refpurpose>halt and wait for interrupt</refpurpose>
|
466
|
5 </refnamediv>
|
|
6
|
|
7 <refsynopsisdiv>
|
|
8 <funcsynopsis>
|
|
9 <funcprototype>
|
|
10 <funcdef><function>pause</function></funcdef>
|
|
11 <paramdef>type <parameter>arg1</parameter></paramdef>
|
|
12 </funcprototype>
|
|
13 </funcsynopsis>
|
|
14
|
|
15 </refsynopsisdiv>
|
|
16
|
542
|
17 <refsect1><title>Assembler Equivalent</title>
|
|
18 <para>
|
|
19 os9 I$SLEEP (with a value of 0)
|
|
20 </para>
|
|
21 </refsect1>
|
|
22
|
466
|
23 <refsect1><title>Description</title>
|
|
24 <para>
|
569
|
25 Pause may be used to halt a task until an interrupt is received
|
|
26 from "kill".
|
|
27 </para>
|
|
28 <para>
|
|
29 Pause always returns -1.
|
466
|
30 </para>
|
|
31 </refsect1>
|
542
|
32
|
|
33 <refsect1><title>See Also</title>
|
|
34 <para>
|
|
35 <link linkend="kill">kill()</link>,
|
|
36 <link linkend="signal">signal()</link>,
|
|
37 OS-9 shell command "kill"
|
|
38 </para>
|
|
39 </refsect1>
|
|
40
|
466
|
41 </refentry>
|