php8.5
Home/ Manual/ pcntl / functions/ pcntl_getqos_class

pcntl_getqos_class

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Get the QoS class of the current thread

Description

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

Source: reference/pcntl/functions/pcntl-getqos-class.xml · from the official PHP manual (php/doc-en)