| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Process.GetQOSClass
Queries the Quality Of Service class for the current thread.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Process | 16.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Process.GetQOSClass" )
Parameters
none
Result
Returns number or error.
Description
Queries the Quality Of Service class for the current thread.| Name | Value | Description |
|---|---|---|
| QOS_CLASS_USER_INTERACTIVE | 5 | The thread handles user input. |
| QOS_CLASS_USER_INITIATED | 4 | The user requested this action. |
| QOS_CLASS_DEFAULT | 3 | Default |
| QOS_CLASS_UTILITY | 2 | Utility thread running with reduced priority, e.g. menubar utility app. |
| QOS_CLASS_BACKGROUND | 1 | Background thread with reduced priority, e.g. backup. |
| QOS_CLASS_UNSPECIFIED | 0 | Unknown level. |
See also
Blog Entries
This function is free to use.
Created 8th March 2026, last changed 8th March 2026