diff options
Diffstat (limited to 'include/kpl/task.h')
| -rw-r--r-- | include/kpl/task.h | 5 |
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); |
