We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e85f6a0 commit 4c5fb69Copy full SHA for 4c5fb69
src/init.c
@@ -383,9 +383,9 @@ dispatch_get_global_queue(intptr_t priority, uintptr_t flags)
383
}
384
dispatch_qos_t qos = _dispatch_qos_from_queue_priority(priority);
385
#if !HAVE_PTHREAD_WORKQUEUE_QOS
386
- if (qos == QOS_CLASS_MAINTENANCE) {
+ if (qos == DISPATCH_QOS_MAINTENANCE) {
387
qos = DISPATCH_QOS_BACKGROUND;
388
- } else if (qos == QOS_CLASS_USER_INTERACTIVE) {
+ } else if (qos == DISPATCH_QOS_USER_INTERACTIVE) {
389
qos = DISPATCH_QOS_USER_INITIATED;
390
391
#endif
0 commit comments