<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCDynamicStoreSetDispatchQueue(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCDynamicStoreSetDispatchQueue"
  },
  "title" : "SCDynamicStoreSetDispatchQueue(_:_:)"
}
-->

# SCDynamicStoreSetDispatchQueue(_:_:)

Initiates notifications for the notification keys, using the specified dispatch queue for the callback.

```
func SCDynamicStoreSetDispatchQueue(_ store: SCDynamicStore, _ queue: dispatch_queue_t?) -> Bool
```

## Parameters

`store`

The dynamic store session.

`queue`

The dispatch queue on which to run the callback function. Pass `NULL` to disable notifications and release the queue.

## Return Value

`TRUE` if notifications were successfully initiated; otherwise, `FALSE`.

## Discussion

---

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)