pcntl_getqos_class

Get the QoS class of the current thread

Description

Pcntl\QosClass pcntl_getqos_class()

Retrieve the QoS class.

Note: This function is only available on Apple platforms.

Parameters

This function has no parameters.

Return Values

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