diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-04 20:18:02 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-05-04 20:18:02 +0200 |
commit | 35857cb36ae65779a7cab773040c0fc91387a989 (patch) | |
tree | a279682c396b5c6345c6c4f9c0c781809b40ccdc /src/kernel/task/timer.cpp | |
parent | 277e4af4fa9e80816c809542d792ee6bebb7f202 (diff) | |
download | TCE-35857cb36ae65779a7cab773040c0fc91387a989.tar.gz TCE-35857cb36ae65779a7cab773040c0fc91387a989.zip |
Minor changes (more OOP constructs);
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); } |