summaryrefslogtreecommitdiff
path: root/Source/Kernel/Core/kmain.wtf.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-11 18:38:05 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-11 18:38:05 +0200
commit3be1804db57e5d1ff08f46c7b7418729da631c26 (patch)
treee91e0197b3009080647f448542ff2a16c00946cb /Source/Kernel/Core/kmain.wtf.cpp
parent244df8bd2c52db9d9c9b59b917206dafcd275ebe (diff)
downloadMelon-3be1804db57e5d1ff08f46c7b7418729da631c26.tar.gz
Melon-3be1804db57e5d1ff08f46c7b7418729da631c26.zip
Tasking now works with linked lists
Diffstat (limited to 'Source/Kernel/Core/kmain.wtf.cpp')
-rw-r--r--Source/Kernel/Core/kmain.wtf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Kernel/Core/kmain.wtf.cpp b/Source/Kernel/Core/kmain.wtf.cpp
index 66e6a8a..8b6a0de 100644
--- a/Source/Kernel/Core/kmain.wtf.cpp
+++ b/Source/Kernel/Core/kmain.wtf.cpp
@@ -78,7 +78,7 @@ u32int logoAnimation(void* p) {
vt.putChar(y, (i + (y%3)), wat[(i + (y%3)) * melonLogoLines + y]);
}
}
- Task::currentThread->sleep(20);
+ Task::currThread()->sleep(20);
}
return 0;
}
@@ -171,7 +171,7 @@ void kmain(multiboot_info_t* mbd, u32int magic) {
kvt->unmap();
while (KernelShell::getInstances() > 0) {
- Task::currentThread->sleep(100);
+ Task::currThread()->sleep(100);
}
Log::log(KL_STATUS, "kmain : All kernel shells finished. Halting.");