diff options
author | Alexis211 <alexis211@gmail.com> | 2009-10-11 18:38:05 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2009-10-11 18:38:05 +0200 |
commit | 3be1804db57e5d1ff08f46c7b7418729da631c26 (patch) | |
tree | e91e0197b3009080647f448542ff2a16c00946cb /Source/Kernel/Core/kmain.wtf.cpp | |
parent | 244df8bd2c52db9d9c9b59b917206dafcd275ebe (diff) | |
download | Melon-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.cpp | 4 |
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."); |