pcntl_getqos_class
(PHP 8 >= 8.4.0)
pcntl_getqos_class — Get the QoS class of the current thread
Description
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_setqos_class() - Set the QoS class of the current thread
- Pcntl\QosClass
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
