---
title: dispatch_queue_priority_t
framework: dispatch
role: symbol
role_heading: Type Alias
path: dispatch/dispatch_queue_priority_t
---

# dispatch_queue_priority_t

The execution priority for tasks in a global concurrent queue.

## Declaration

```occ
typedef long dispatch_queue_priority_t;
```

## Discussion

Discussion In macOS 10.10 and later, use quality-of-service (QoS) classes to specify the priority of tasks instead.

## Topics

### Priorities

- [DISPATCH_QUEUE_PRIORITY_HIGH](dispatch/dispatch_queue_priority_high.md)
- [DISPATCH_QUEUE_PRIORITY_DEFAULT](dispatch/dispatch_queue_priority_default.md)
- [DISPATCH_QUEUE_PRIORITY_LOW](dispatch/dispatch_queue_priority_low.md)
- [DISPATCH_QUEUE_PRIORITY_BACKGROUND](dispatch/dispatch_queue_priority_background.md)

## See Also

### Thread Scheduling

- [dispatch_qos_class_t](dispatch/dispatch_qos_class_t.md)
- [dispatch_set_qos_class_floor](dispatch/dispatch_set_qos_class_floor.md)
