Add talkative msg for coro gc debug

This commit is contained in:
Yorick 2023-03-03 11:43:47 +01:00
parent 176005749c
commit 2683734936
No known key found for this signature in database
GPG key ID: A36E70F9DC014A15

View file

@ -367,6 +367,7 @@ void initGC()
#if NIX_BOEHM_PATCH_VERSION != 1 #if NIX_BOEHM_PATCH_VERSION != 1
printTalkative("Unpatched BoehmGC, disabling GC inside coroutines");
/* Used to disable GC when entering coroutines on macOS */ /* Used to disable GC when entering coroutines on macOS */
create_coro_gc_hook = []() -> std::shared_ptr<void> { create_coro_gc_hook = []() -> std::shared_ptr<void> {
return std::make_shared<BoehmDisableGC>(); return std::make_shared<BoehmDisableGC>();