aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/gc.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-11-01 15:39:29 -0500
committernodist <kevin.comas.git@gmail.com>2026-11-01 15:39:29 -0500
commit9ff37ba139dceb722af3502816ed228c43fbecfd (patch)
tree7bca7bf7a98858a9f4bad4b3d8f0d3febf50fe4c /include/kpl/gc.h
parent9a61168aec3373be702bdbf252043ce3605f2b5b (diff)
inc and dec priority with io uring submit
Diffstat (limited to 'include/kpl/gc.h')
-rw-r--r--include/kpl/gc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kpl/gc.h b/include/kpl/gc.h
index 074ba49..6ed4fc4 100644
--- a/include/kpl/gc.h
+++ b/include/kpl/gc.h
@@ -47,6 +47,7 @@ inline void kpl_gc_mark(kpl_object_gc *object_gc) {
/*
* Move gc_head to gc_mark head
* Need task to traverse task and error queue to mark objects all call kpl_interface_gc_mark_object_fn
+ * Has to be called separately from kpl_gc_sweep, other tasks will be running while gc runs
*/
inline void kpl_gc_prepare_sweep(kpl_gc *gc) {
gc->gc_mark_head = gc->gc_head;