File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3013,6 +3013,7 @@ _dispatch_block_sync_invoke(void *block)
3013
3013
}
3014
3014
}
3015
3015
3016
+ #if DISPATCH_USE_KEVENT_WORKQUEUE
3016
3017
static void
3017
3018
_dispatch_block_async_invoke_reset_max_qos (dispatch_queue_t dq ,
3018
3019
dispatch_qos_t qos )
@@ -3053,6 +3054,7 @@ _dispatch_block_async_invoke_reset_max_qos(dispatch_queue_t dq,
3053
3054
_dispatch_deferred_items_get ()-> ddi_wlh_needs_update = true;
3054
3055
_dispatch_event_loop_drain (KEVENT_FLAG_IMMEDIATE );
3055
3056
}
3057
+ #endif // DISPATCH_USE_KEVENT_WORKQUEUE
3056
3058
3057
3059
#define DISPATCH_BLOCK_ASYNC_INVOKE_RELEASE 0x1
3058
3060
#define DISPATCH_BLOCK_ASYNC_INVOKE_NO_OVERRIDE_RESET 0x2
@@ -3068,6 +3070,7 @@ _dispatch_block_async_invoke2(dispatch_block_t b, unsigned long invoke_flags)
3068
3070
"run more than once and waited for" );
3069
3071
}
3070
3072
3073
+ #if DISPATCH_USE_KEVENT_WORKQUEUE
3071
3074
if (unlikely ((dbpd -> dbpd_flags &
3072
3075
DISPATCH_BLOCK_IF_LAST_RESET_QUEUE_QOS_OVERRIDE ) &&
3073
3076
!(invoke_flags & DISPATCH_BLOCK_ASYNC_INVOKE_NO_OVERRIDE_RESET ))) {
@@ -3077,6 +3080,7 @@ _dispatch_block_async_invoke2(dispatch_block_t b, unsigned long invoke_flags)
3077
3080
_dispatch_block_async_invoke_reset_max_qos (dq , qos );
3078
3081
}
3079
3082
}
3083
+ #endif // DISPATCH_USE_KEVENT_WORKQUEUE
3080
3084
3081
3085
if (!slowpath (atomic_flags & DBF_CANCELED )) {
3082
3086
dbpd -> dbpd_block ();
You can’t perform that action at this time.
0 commit comments