File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -6246,6 +6246,7 @@ _dispatch_worker_thread(void *context)
6246
6246
dispatch_priority_t pri = dq -> dq_priority ;
6247
6247
pthread_priority_t pp = _dispatch_get_priority ();
6248
6248
6249
+ #if defined(__linux__ )
6249
6250
// The Linux kernel does not have a direct analogue to the QoS-based
6250
6251
// thread policy engine found in XNU.
6251
6252
//
@@ -6259,7 +6260,6 @@ _dispatch_worker_thread(void *context)
6259
6260
// per‐thread attribute: different threads in the same process can have
6260
6261
// different nice values. We can thus setup the thread's initial priority
6261
6262
// by converting the QoS class and relative priority to a 'nice' value.
6262
- #if defined(__linux__ )
6263
6263
pp = _dispatch_priority_to_pp_strip_flags (pri );
6264
6264
int nice = _dispatch_pp_to_nice (pp );
6265
6265
You can’t perform that action at this time.
0 commit comments