summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-11 18:44:16 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-11 18:44:16 +0200
commit4f1c0997990e719ac1a1cfcb80a7437009c46b7b (patch)
tree03237c5fd1d44de899f439cb244aa2008d449524 /Source
parent3be1804db57e5d1ff08f46c7b7418729da631c26 (diff)
downloadMelon-4f1c0997990e719ac1a1cfcb80a7437009c46b7b.tar.gz
Melon-4f1c0997990e719ac1a1cfcb80a7437009c46b7b.zip
Nothing, really ;D
Diffstat (limited to 'Source')
-rwxr-xr-xSource/Kernel/Melon.kebin574720 -> 574720 bytes
-rw-r--r--Source/Kernel/TaskManager/Task.ns.cpp12
2 files changed, 6 insertions, 6 deletions
diff --git a/Source/Kernel/Melon.ke b/Source/Kernel/Melon.ke
index 95613ee..f259ad0 100755
--- a/Source/Kernel/Melon.ke
+++ b/Source/Kernel/Melon.ke
Binary files differ
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();