pcntl_getqos_class

Get the QoS class of the current thread

Description

Pcntl\QosClass pcntl_getqos_class()

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
  • Pcntl\QosClass