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
pcntl_setqos_class()Pcntl\QosClass