<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "Dispatch",
  "identifier" : "/documentation/Dispatch/DispatchQueue/global(qos:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Dispatch"
    ],
    "preciseIdentifier" : "s:So17OS_dispatch_queueC8DispatchE6global3qosAbC0D3QoSV0G6SClassO_tFZ"
  },
  "title" : "global(qos:)"
}
-->

# global(qos:)

Returns the global system queue with the specified quality-of-service class.

```
class func global(qos: DispatchQoS.QoSClass = .default) -> DispatchQueue
```

## Parameters

`qos`

The quality-of-service level to associate with the queue. This value determines the priority at which the system schedules tasks for execution. For a list of possible values, see [`DispatchQoS.QoSClass`](/documentation/Dispatch/DispatchQoS/QoSClass-swift.enum).

## Discussion

This method returns a queue suitable for executing tasks with the specified quality-of-service level. Calls to the [`suspend()`](/documentation/Dispatch/DispatchObject/suspend()), [`resume()`](/documentation/Dispatch/DispatchObject/resume()), and [`dispatch_set_context`](/documentation/Dispatch/dispatch_set_context) functions have no effect on the returned queues.

Tasks submitted to the returned queue are scheduled concurrently with respect to one another.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)