Add talkative msg for coro gc debug

This commit is contained in:
Yorick van Pelt 2023-03-03 11:43:47 +01:00 committed by Théophane Hufschmitt
parent 58d24a4cb6
commit 62ddd8633c

View file

@ -386,6 +386,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>();