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

[PHP 8.4] Pcntl::QosClass #4095

Merged
merged 1 commit into from
Nov 18, 2024
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
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>.
Comment on lines +10 to +11
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this function only take one parameter? If not might be good to reference said parameter here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it does because this is the current process implictly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK. :)

</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