summaryrefslogtreecommitdiff
path: root/Source/Kernel/TaskManager/Task.ns.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/TaskManager/Task.ns.h')
-rw-r--r--Source/Kernel/TaskManager/Task.ns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Kernel/TaskManager/Task.ns.h b/Source/Kernel/TaskManager/Task.ns.h
index 634d103..a41eaf7 100644
--- a/Source/Kernel/TaskManager/Task.ns.h
+++ b/Source/Kernel/TaskManager/Task.ns.h
@@ -17,6 +17,8 @@ namespace Task {
void allocKernelPageTable(u32int id, page_table_t *table, u32int tablePhys);
Process* getKernelProcess(); //Returns first registered process
+ void currentThreadExits(u32int errcode); //Syscall called when a thread finishes
+
//These are used by the constructors/destructors of Thread and Process
void registerThread(Thread* t);
void unregisterThread(Thread* t);