1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

Add talkative msg for coro gc debug

(cherry picked from commit 62ddd8633c)
This commit is contained in:
Yorick van Pelt 2023-03-03 11:43:47 +01:00 committed by github-actions[bot]
parent de7803e15f
commit ad96bf9791

View file

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