Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCNTL: Include new enum into docs #252

Merged
merged 3 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions reference/pcntl/book.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 508e255fff6c604c31d5617fe9ddf6d776a3b43d Maintainer: takagi Status: ready -->
<!-- EN-Revision: ee8d203f9230b0496f6d69cc1237d9ca63475ad7 Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka,hirokawa -->

<book xml:id="book.pcntl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
Expand Down Expand Up @@ -39,14 +39,16 @@
&note.no-windows.extension;
</preface>
<!-- }}} -->

&reference.pcntl.setup;
&reference.pcntl.constants;
&reference.pcntl.examples;

&reference.pcntl.qosclass;

&reference.pcntl.reference;

</book>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
72 changes: 72 additions & 0 deletions reference/pcntl/qosclass.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: ee8d203f9230b0496f6d69cc1237d9ca63475ad7 Maintainer: Ippey Status: ready -->
<reference xmlns="http://docbook.org/ns/docbook" xml:id="enum.qosclass" role="enum">
<title>The QosClass Enum</title>
<titleabbrev>QosClass</titleabbrev>

<partintro>
<section xml:id="enum.qosclass.intro">
&reftitle.intro;
<simpara>
列挙型の <enumname>QosClass</enumname> は、<function>pcntl_setqos_class</function> を使用して
ユーザプロセスの優先度指定するために使用されます。
</simpara>
</section>

<section xml:id="enum.qosclass.synopsis">
&reftitle.enumsynopsis;
<enumsynopsis>
<enumname>QosClass</enumname>

<enumitem>
<enumidentifier>Pcntl::Background</enumidentifier>
<enumitemdescription>
全ての優先度が高いプロセスが終了した後に、このプロセスが実行されます。
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>Pcntl::Default</enumidentifier>
<enumitemdescription>
全ての優先度が高いプロセスが終了した後、優先度の低いプロセスの前にこのプロセスが実行されます。
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>Pcntl::UserInteractive</enumidentifier>
<enumitemdescription>
最優先レベルでプロセスを実行します。
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>Pcntl::UserInitiated</enumidentifier>
<enumitemdescription>
最優先レベルでプロセスを実行しますが、 Pcntl::UserInteractive より後になります。
</enumitemdescription>
</enumitem>
</enumsynopsis>
</section>
</partintro>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->