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

# dispatch_queue_get_qos_class

Returns the quality-of-service class for the specified queue.

## Declaration

```occ
extern dispatch_qos_class_t dispatch_queue_get_qos_class(dispatch_queue_t queue, int *relative_priority_ptr);
```

## 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_qos_class_t](dispatch/dispatch_qos_class_t.md)
- [dispatch_queue_attr_make_initially_inactive](dispatch/dispatch_queue_attr_make_initially_inactive.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)
