---
title: dispatch_queue_attr_make_initially_inactive
framework: dispatch
role: symbol
role_heading: Function
path: dispatch/dispatch_queue_attr_make_initially_inactive
---

# dispatch_queue_attr_make_initially_inactive

Returns an attribute that configures a dispatch queue as initially inactive.

## Declaration

```occ
extern dispatch_queue_attr_tdispatch_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

Return Value An updated set of queue attributes that includes the initially inactive attribute.

## Discussion

Discussion When you configure a dispatch queue with this attribute, the queue does not execute tasks until you call its activate() method.

## See Also

### Configuring Queue Execution Parameters

- [dispatch_queue_attr_t](dispatch/dispatch_queue_attr_t.md)
- [dispatch_queue_attr_make_with_qos_class](dispatch/dispatch_queue_attr_make_with_qos_class.md)
- [dispatch_queue_get_qos_class](dispatch/dispatch_queue_get_qos_class.md)
- [dispatch_qos_class_t](dispatch/dispatch_qos_class_t.md)
- [dispatch_queue_attr_make_with_autorelease_frequency](dispatch/dispatch_queue_attr_make_with_autorelease_frequency.md)
- [dispatch_autorelease_frequency_t](dispatch/dispatch_autorelease_frequency_t.md)
