summaryrefslogtreecommitdiff
path: root/kern/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/task.h')
-rw-r--r--kern/task.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/task.h b/kern/task.h
index 0cebdb21..67599399 100644
--- a/kern/task.h
+++ b/kern/task.h
@@ -60,6 +60,11 @@ int task_create(struct task **taskp, const char *name);
void task_add_thread(struct task *task, struct thread *thread);
/*
+ * Remove a thread from a task.
+ */
+void task_remove_thread(struct task *task, struct thread *thread);
+
+/*
* Display task information.
*
* If task is NULL, this function displays all tasks.