Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<pcntl_getprioritypcntl_rfork>
^PCNTL FunctionsLast updated: Mon, 26 Oct 2026

pcntl_getqos_class

(PHP 8 >= 8.4.0)

pcntl_getqos_class — Get the QoS class of the current thread

Description

function pcntl_getqos_class(): Pcntl\QosClass

Retrieves the Quality of Service (QoS) class of the current thread.

Note:

This function is only available on Apple platforms.

Parameters

This function has no parameters.

Return Values

Returns the current QoS class as a Pcntl\QosClass.

Errors/Exceptions

Throws an Error if the underlying call to pthread_get_qos_class_np() fails.

See Also


<pcntl_getprioritypcntl_rfork>
^PCNTL FunctionsLast updated: Mon, 26 Oct 2026