qos_class_main method
! @function qos_class_main
@abstract Returns the initial requested QOS class of the main thread.
@discussion The QOS class that the main thread of a process is created with depends on the type of process (e.g. application or daemon) and on how it has been launched.
This function returns that initial requested QOS class value chosen by the system to enable propagation of that classification to matching work not executing on the main thread.
@return One of the QOS class values in qos_class_t.
Implementation
int qos_class_main() {
return _qos_class_main();
}