From 434f06c437d7af0dc70acd6746d23c005550e031 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Mon, 15 Apr 2013 21:09:08 +0200 Subject: kern/task: new task_remove_thread function --- kern/task.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kern/task.h') diff --git a/kern/task.h b/kern/task.h index 0cebdb21..67599399 100644 --- a/kern/task.h +++ b/kern/task.h @@ -59,6 +59,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. * -- cgit v1.2.3