Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSTaskMBS class.

NSTaskMBS.NSQualityOfServiceBackground = &h09

Type Topic Plugin Version
const Cocoa Tasks MBS MacCocoa Plugin 15.3
One of the quality of service constants.

Background QoS is used for work that is not user initiated or visible. In general, a user is unaware that this work is even happening and it will run in the most efficient manner while giving the most deference to higher QoS work. For example, pre-fetching content, search indexing, backups, and syncing of data with external systems.

NSTaskMBS.NSQualityOfServiceDefault = -1

Type Topic Plugin Version
const Cocoa Tasks MBS MacCocoa Plugin 15.3
One of the quality of service constants.

Default QoS indicates the absence of QoS information. Whenever possible QoS information will be inferred from other sources. If such inference is not possible, a QoS between UserInitiated and Utility will be used.

NSTaskMBS.NSQualityOfServiceUserInitiated = &h19

Type Topic Plugin Version
const Cocoa Tasks MBS MacCocoa Plugin 15.3
One of the quality of service constants.

UserInitiated QoS is used for performing work that has been explicitly requested by the user and for which results must be immediately presented in order to allow for further user interaction. For example, loading an email after a user has selected it in a message list.

NSTaskMBS.NSQualityOfServiceUserInteractive = &h21

Type Topic Plugin Version
const Cocoa Tasks MBS MacCocoa Plugin 15.3
One of the quality of service constants.

UserInteractive QoS is used for work directly involved in providing an interactive UI such as processing events or drawing to the screen.

NSTaskMBS.NSQualityOfServiceUtility = &h11

Type Topic Plugin Version
const Cocoa Tasks MBS MacCocoa Plugin 15.3
One of the quality of service constants.

Utility QoS is used for performing work which the user is unlikely to be immediately waiting for the results. This work may have been requested by the user or initiated automatically, does not prevent the user from further interaction, often operates at user-visible timescales and may have its progress indicated to the user by a non-modal progress indicator. This work will run in an energy-efficient manner, in deference to higher QoS work when resources are constrained. For example, periodic content updates or bulk file operations such as media import.

NSTaskMBS.NSTaskTerminationReasonExit = 1

Type Topic Plugin Version
const Cocoa Tasks MBS MacCocoa Plugin 9.7
One of the constants used to specify the values that are returned by terminationReason.

The task exited normally.

NSTaskMBS.NSTaskTerminationReasonUncaughtSignal = 2

Type Topic Plugin Version
const Cocoa Tasks MBS MacCocoa Plugin 9.7
One of the constants used to specify the values that are returned by terminationReason.

The task exited due to an uncaught signal.

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


💬 Ask a question or report a problem
The biggest plugin in space...