Enumeration

dispatch_block_flags_t

Declaration

typedef enum : unsigned long {
    ...
} dispatch_block_flags_t;

Topics

Flags

DISPATCH_BLOCK_ASSIGN_CURRENT

Set the attributes of the work item to match the attributes of the current execution context.

DISPATCH_BLOCK_BARRIER

Cause the work item to act as a barrier block when submitted to a concurrent queue.

DISPATCH_BLOCK_DETACHED

Disassociate the work item's attributes from the current execution context.

DISPATCH_BLOCK_ENFORCE_QOS_CLASS

Prefer the quality-of-service class associated with the block.

DISPATCH_BLOCK_INHERIT_QOS_CLASS

Prefer the quality-of-service class associated with the current execution context.

DISPATCH_BLOCK_NO_QOS_CLASS

Execute the work item without assigning a quality-of-service class.

See Also

Creating a Work Item

dispatch_block_create

Creates a new dispatch block on the heap using an existing block and the given flags.

dispatch_block_create_with_qos_class

Creates a new dispatch block from an existing block and the given flags, and assigns it the specified quality-of-service class and relative priority.

dispatch_block_t

The prototype of blocks submitted to dispatch queues, which take no arguments and have no return value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software