(PHP 8 >= 8.4.0)
pcntl_setqos_class — Set the QoS class of the current thread
Sets the Quality of Service (QoS) class of the current thread.
qos_classPcntl\QosClass::UserInteractivePcntl\QosClass::UserInitiatedUserInteractive.
Intended for work the user has explicitly initiated and is actively
waiting on, expected to complete within a few seconds.
Pcntl\QosClass::DefaultUtility
and Background.
Pcntl\QosClass::UtilityPcntl\QosClass::Background注意: This function is only available on Apple platforms.
没有返回值。
Throws an Error if the underlying call to
pthread_set_qos_class_self_np() fails.