1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01: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 8a2a2fbc63
commit 3b371e2924

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>();