mirror of
https://github.com/darlinghq/darling-libdispatch.git
synced 2024-11-27 05:50:31 +00:00
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:
parent
54adbd19c8
commit
cc0856ab03
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user