summaryrefslogtreecommitdiff
path: root/Source/Kernel/TaskManager/Thread.class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Kernel/TaskManager/Thread.class.h')
-rw-r--r--Source/Kernel/TaskManager/Thread.class.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/Kernel/TaskManager/Thread.class.h b/Source/Kernel/TaskManager/Thread.class.h
index aeb1f93..8a7d45e 100644
--- a/Source/Kernel/TaskManager/Thread.class.h
+++ b/Source/Kernel/TaskManager/Thread.class.h
@@ -11,7 +11,7 @@
typedef u32int(*thread_entry_t)(void*);
-class Thread {
+class Thread : public Ressource {
friend class Process; //This might be useful
friend void runThread(Thread*, void*, thread_entry_t);
@@ -59,6 +59,10 @@ class Thread {
}
return false;
}
+
+ //Syscalls
+ u32int sleepSC(u32int msecs);
+ u32int finishSC(u32int errcode);
};
#endif