diff options
Diffstat (limited to 'src/kernel/task/timer.cpp')
-rw-r--r-- | src/kernel/task/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/task/timer.cpp b/src/kernel/task/timer.cpp index 05c4550..ccc3c79 100644 --- a/src/kernel/task/timer.cpp +++ b/src/kernel/task/timer.cpp @@ -84,7 +84,7 @@ void timer_wakeUpSleepingThreads() { uint32_t time = timer_time(); while (sleeping_threads != 0 && sleeping_threads->wakeup_time <= time) { sleeping_thread *tmp = sleeping_threads; - thread_wakeUp(tmp->thread); + tmp->thread->wakeUp(); sleeping_threads = tmp->next; kfree(tmp); } |