---
title: dispatch_block_flags_t
framework: dispatch
role: symbol
role_heading: Enumeration
path: dispatch/dispatch_block_flags_t
---

# dispatch_block_flags_t

Flags to pass to the dispatch_block_create and dispatch_block_create_with_qos_class functions.

## Declaration

```occ
typedef enum { ... } dispatch_block_flags_t;
```

## Topics

### Flags

- [DISPATCH_BLOCK_ASSIGN_CURRENT](dispatch/dispatch_block_flags_t/dispatch_block_assign_current.md)
- [DISPATCH_BLOCK_BARRIER](dispatch/dispatch_block_flags_t/dispatch_block_barrier.md)
- [DISPATCH_BLOCK_DETACHED](dispatch/dispatch_block_flags_t/dispatch_block_detached.md)
- [DISPATCH_BLOCK_ENFORCE_QOS_CLASS](dispatch/dispatch_block_flags_t/dispatch_block_enforce_qos_class.md)
- [DISPATCH_BLOCK_INHERIT_QOS_CLASS](dispatch/dispatch_block_flags_t/dispatch_block_inherit_qos_class.md)
- [DISPATCH_BLOCK_NO_QOS_CLASS](dispatch/dispatch_block_flags_t/dispatch_block_no_qos_class.md)

## See Also

### Creating a Work Item

- [dispatch_block_create](dispatch/dispatch_block_create.md)
- [dispatch_block_create_with_qos_class](dispatch/dispatch_block_create_with_qos_class.md)
- [dispatch_block_t](dispatch/dispatch_block_t.md)
