diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-11 09:27:16 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-11 09:27:16 +0100 |
commit | aa5e2760711c092e1235105ebf097ac594512370 (patch) | |
tree | d191ead558d5913cc51df8734398c7fe981d80e9 /src/kernel/include/thread.h | |
parent | 0e50ada984473de20ba47c2ebdbe36b3dad78dd1 (diff) | |
download | kogata-aa5e2760711c092e1235105ebf097ac594512370.tar.gz kogata-aa5e2760711c092e1235105ebf097ac594512370.zip |
Fix process exiting.
Diffstat (limited to 'src/kernel/include/thread.h')
-rw-r--r-- | src/kernel/include/thread.h | 1 |
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); |