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.