aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/serialise.hh
diff options
context:
space:
mode:
authorYorick van Pelt <yorick@yorickvanpelt.nl>2023-03-01 15:07:00 +0100
committerYorick van Pelt <yorick@yorickvanpelt.nl>2023-03-01 15:07:00 +0100
commit176005749cbc413514cc7fca31587de184720b62 (patch)
tree19d964ca4980c0b32bdb54e8f0eb4025a0e0e731 /src/libutil/serialise.hh
parent4c73eab92351e0942dc27f84fec1bf8c94619d02 (diff)
Always disable GC in a coroutine unless the patch is applied
Diffstat (limited to 'src/libutil/serialise.hh')
-rw-r--r--src/libutil/serialise.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh
index 58b9499db..e99c5fcc7 100644
--- a/src/libutil/serialise.hh
+++ b/src/libutil/serialise.hh
@@ -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)();
}