Contents

dispatch_queue_attr_make_with_autorelease_frequency

Returns an attribute that specifies how the dispatch queue manages autorelease pools for the blocks it executes.

Declaration

extern dispatch_queue_attr_t dispatch_queue_attr_make_with_autorelease_frequency(dispatch_queue_attr_t attr, dispatch_autorelease_frequency_t frequency);

Parameters

  • attr:

    The dispatch queue attributes you want to modify.

  • frequency:

    The autorelease behavior attribute to apply to the dispatch queue. For a list of possible values, see Dispatch_autorelease_frequency_t.

See Also

Configuring Queue Execution Parameters