Platforms to show: All Mac Windows Linux Cross-Platform

GetQOSClassMBS as Integer   New in 26.1

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method System MBS Util Plugin 26.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Queries the Quality Of Service class for the current thread.

Returns a number from 1 (background) to highest (5) for the thread.
See also SetQOSClassMBS function to set the QOS class.

NameValueDescription
QOS_CLASS_USER_INTERACTIVE5The thread handles user input.
QOS_CLASS_USER_INITIATED4The user requested this action.
QOS_CLASS_DEFAULT3Default
QOS_CLASS_UTILITY2Utility thread running with reduced priority, e.g. menubar utility app.
QOS_CLASS_BACKGROUND1Background thread with reduced priority, e.g. backup.
QOS_CLASS_UNSPECIFIED0Unknown level.

Some examples using this global method:

Blog Entries

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...