Disable queue narrowing (DISPATCH_USE_WORKQUEUE_NARROWING)

Leaving it on would require us to use HAVE_PTHREAD_WORKQUEUE_QOS.

This fixes some crashes in LLDB. It still doesn't work 100% as it does on master, but at least it doesn't crash unexpectedly now.
This commit is contained in:
Ariel Abreu 2020-12-15 19:06:16 -05:00
parent 54adbd19c8
commit cc0856ab03
No known key found for this signature in database
GPG Key ID: BB20848279B910AC

View File

@ -13,6 +13,7 @@ add_definitions(-DPRIVATE -DDISPATCH_USE_DTRACE=0 -DNeXT_RUNTIME=1 -DNS_RETURNS_
-DDISPATCH_USE_KEVENT_WORKLOOP=0
-DHAVE_PTHREAD_WORKQUEUE_QOS=0
-DVOUCHER_USE_MACH_VOUCHER=0
-DDISPATCH_USE_WORKQUEUE_NARROWING=0
)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -D__DARWIN_UNIX03 -fPIC")