aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/task.h
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-11-11 14:05:59 -0500
committernodist <kevin.comas.git@gmail.com>2026-11-11 14:05:59 -0500
commit75c8828d804f45cf8f44af73bfe87e0f3eaf9a9e (patch)
tree2fdf51906d2517bbe8c928fc52f95bb2e0dda4f9 /include/kpl/task.h
parent7b9204a8680539bc4795a14f3d9a34e47981d0c3 (diff)
run a task test
Diffstat (limited to 'include/kpl/task.h')
-rw-r--r--include/kpl/task.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/kpl/task.h b/include/kpl/task.h
index bfdbb4a..ce183da 100644
--- a/include/kpl/task.h
+++ b/include/kpl/task.h
@@ -32,3 +32,8 @@ inline void kpl_object_task_join(kpl_thread *thread, kpl_object_task *restrict o
object_task_complete->join_task = object_task_join;
kpl_object_task_done(thread, object_task_complete);
}
+
+/*
+ * An error has occurred in the task
+ */
+void kpl_object_task_error(kpl_thread *thread, kpl_object_error *object_error);