mirror of
https://github.com/NixOS/nix
synced 2025-07-06 13:21:47 +02:00
Always disable GC in a coroutine unless the patch is applied
This commit is contained in:
parent
4c73eab923
commit
176005749c
4 changed files with 28 additions and 11 deletions
|
@ -501,10 +501,10 @@ struct StackAllocator {
|
|||
static StackAllocator *defaultAllocator;
|
||||
};
|
||||
|
||||
/* Disabling GC when entering a coroutine (on macos).
|
||||
/* Disabling GC when entering a coroutine (without the boehm patch).
|
||||
mutable to avoid boehm gc dependency in libutil.
|
||||
*/
|
||||
extern std::shared_ptr<void> (*create_disable_gc)();
|
||||
extern std::shared_ptr<void> (*create_coro_gc_hook)();
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue