this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove QoS hack and add another one

See the commit in libdispatch for more information.

-7
-7
src/kernel/emulation/linux/bsdthread/workq_kernreturn.c
··· 91 91 int flags = 0; 92 92 int qos = _pthread_priority_thread_qos(priority); 93 93 94 - // Apple has created a mess of QoS in libdispatch and sometimes libdispatch doesn't set QoS properly when building with configurations Apple (apparently) hasn't tested 95 - // 96 - // we only do this is a hack/workaround until we improve our workqueue/kqueue support to use libdispatch's new SPIs 97 - if (qos == 0) { 98 - qos = 4; // default libdispatch QoS 99 - } 100 - 101 94 flags = WQ_FLAG_THREAD_NEWSPI | qos | WQ_FLAG_THREAD_PRIO_QOS; 102 95 103 96 if (priority & _PTHREAD_PRIORITY_OVERCOMMIT_FLAG) {