diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-11 18:44:16 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-11 18:44:16 +0200 |
commit | 4f1c0997990e719ac1a1cfcb80a7437009c46b7b (patch) | |
tree | 03237c5fd1d44de899f439cb244aa2008d449524 /Source | |
parent | 3be1804db57e5d1ff08f46c7b7418729da631c26 (diff) | |
download | Melon-4f1c0997990e719ac1a1cfcb80a7437009c46b7b.tar.gz Melon-4f1c0997990e719ac1a1cfcb80a7437009c46b7b.zip |
Nothing, really ;D
Diffstat (limited to 'Source')
-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(); |