dispatch_queue_attr_make_initially_inactive
Returns an attribute that configures a dispatch queue as initially inactive.
Declaration
extern dispatch_queue_attr_t dispatch_queue_attr_make_initially_inactive(dispatch_queue_attr_t attr);Parameters
- attr:
Other queue attributes that you want to combine with the initially inactive attribute.
Return Value
An updated set of queue attributes that includes the initially inactive attribute.
Discussion
When you configure a dispatch queue with this attribute, the queue does not execute tasks until you call its activate() method.