mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
Revert "kernel/tasks: fix logical bug check_timers()"
Yesterday was a long day ... It had actually been fine all the time.
This commit is contained in:
parent
94535f04da
commit
8d945a8490
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ void check_timers(void)
|
|||
|
||||
// check timers
|
||||
current_tick = get_clock_tick();
|
||||
while (readyqueues[core_id].timers.first && readyqueues[core_id].timers.first->timeout >= current_tick)
|
||||
while (readyqueues[core_id].timers.first && readyqueues[core_id].timers.first->timeout <= current_tick)
|
||||
{
|
||||
task_t* task = readyqueues[core_id].timers.first;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue