Skip to content

Commit

Permalink
[PHP 8.4] Pcntl::QosClass (php#4095)
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored Nov 18, 2024
1 parent aa2e1ac commit cb0823d
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 0 deletions.
70 changes: 70 additions & 0 deletions reference/pcntl/qosclass.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<reference xmlns="http://docbook.org/ns/docbook" xml:id="enum.roundingmode" role="enum">
<title>The QosClass Enum</title>
<titleabbrev>QosClass</titleabbrev>

<partintro>
<section xml:id="enum.qosclass.intro">
&reftitle.intro;
<simpara>
The <enumname>QosClass</enumname> enum is used to specify the user process
priority with <function>pcntl_setqos_class</function>.
</simpara>
</section>

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

<enumitem>
<enumidentifier>Pcntl::Background</enumidentifier>
<enumitemdescription>
Runs the process after all high-priority ones had ran their courses.
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>Pcntl::Default</enumidentifier>
<enumitemdescription>
Runs the process after all high-priority processes but before the low-priority ones.
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>Pcntl::UserInteractive</enumidentifier>
<enumitemdescription>
Runs the process as the highest priority level.
</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>Pcntl::UserInitiated</enumidentifier>
<enumitemdescription>
Runs the process at high priority level but below Pcntl::UserInteractive ones.
</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
-->
1 change: 1 addition & 0 deletions reference/pcntl/versions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<function name="pcntl_wifstopped" from="PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8"/>
<function name="pcntl_wstopsig" from="PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8"/>
<function name="pcntl_wtermsig" from="PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8"/>
<function name="qosclass" from="PHP 8 &gt;= 8.4.0"/>
</versions>
<!-- Keep this comment at the end of the file
Local variables:
Expand Down

0 comments on commit cb0823d

Please sign in to comment.