Skip to content

Commit 7f64b1c

Browse files
committed
fix mistake made in merge
1 parent d2f10b3 commit 7f64b1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/queue.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ _dispatch_root_queues_init_workq(void)
818818
pthread_workqueue_t pwq = NULL;
819819
dispatch_root_queue_context_t qc;
820820
qc = &_dispatch_root_queue_contexts[i];
821+
#if DISPATCH_USE_LEGACY_WORKQUEUE_FALLBACK
821822
if (!disable_wq && qc->dgq_wq_priority != WORKQ_PRIO_INVALID) {
822823
r = pthread_workqueue_attr_setqueuepriority_np(&pwq_attr,
823824
qc->dgq_wq_priority);

0 commit comments

Comments
 (0)