aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include/thread.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-11 09:27:16 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-11 09:27:16 +0100
commitaa5e2760711c092e1235105ebf097ac594512370 (patch)
treed191ead558d5913cc51df8734398c7fe981d80e9 /src/kernel/include/thread.h
parent0e50ada984473de20ba47c2ebdbe36b3dad78dd1 (diff)
downloadkogata-aa5e2760711c092e1235105ebf097ac594512370.tar.gz
kogata-aa5e2760711c092e1235105ebf097ac594512370.zip
Fix process exiting.
Diffstat (limited to 'src/kernel/include/thread.h')
-rw-r--r--src/kernel/include/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/include/thread.h b/src/kernel/include/thread.h
index f9df0ea..4b140fa 100644
--- a/src/kernel/include/thread.h
+++ b/src/kernel/include/thread.h
@@ -44,6 +44,7 @@ typedef void (*entry_t)(void*);
void threading_setup(entry_t cont, void* data); // never returns
thread_t *new_thread(entry_t entry, void* data); // thread is PAUSED, and must be started with start_thread
void start_thread(thread_t *t);
+void delete_thread(thread_t *t);
void irq0_handler(registers_t *regs, int crit_level);