diff options
Diffstat (limited to 'Source/Kernel')
-rwxr-xr-x | Source/Kernel/Melon.ke | bin | 574720 -> 574720 bytes | |||
-rw-r--r-- | Source/Kernel/TaskManager/Task.ns.cpp | 12 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/Kernel/Melon.ke b/Source/Kernel/Melon.ke Binary files differindex 95613ee..f259ad0 100755 --- a/Source/Kernel/Melon.ke +++ b/Source/Kernel/Melon.ke diff --git a/Source/Kernel/TaskManager/Task.ns.cpp b/Source/Kernel/TaskManager/Task.ns.cpp index 66119e8..8a41340 100644 --- a/Source/Kernel/TaskManager/Task.ns.cpp +++ b/Source/Kernel/TaskManager/Task.ns.cpp @@ -10,18 +10,18 @@ namespace Task { SimpleList <Process*> *processes = 0; //TODO : use a linked list instead SimpleList <Thread*> *threads = 0; +SimpleList <Thread*> *currentThread = 0; +Process* currentProcess = 0; +SimpleList<Thread*> *idleThread = 0; + +u32int nextpid = 1; + struct finished_thread_t { //Forms a linked list Thread* thread; u32int errcode; }; - SimpleList<finished_thread_t> *firstFinishedThread = 0; -SimpleList <Thread*> *currentThread = 0; -Process* currentProcess = 0; -SimpleList<Thread*> *idleThread = 0; - -u32int nextpid = 1; Thread* currThread() { return currentThread->v(); |