diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-04-18 12:17:00 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-04-18 12:17:00 -0400 |
commit | d5c72e3693f65d937a8ecd2f3a6274ca01ffd366 (patch) | |
tree | 97d0726dd3f769e8d0824038e50ea61506e45b9c /src/linux | |
parent | c5f1835becd88341202c1ec5fddd97009fe0491f (diff) | |
download | kutter-d5c72e3693f65d937a8ecd2f3a6274ca01ffd366.tar.gz kutter-d5c72e3693f65d937a8ecd2f3a6274ca01ffd366.tar.xz kutter-d5c72e3693f65d937a8ecd2f3a6274ca01ffd366.zip |
linux: Fix local timer_repeat_until cache in timer.c
Make sure to update the local copy of timer_repeat_until when updating
it.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/timer.c b/src/linux/timer.c index 89c6f686..696971e2 100644 --- a/src/linux/timer.c +++ b/src/linux/timer.c @@ -168,7 +168,7 @@ timer_dispatch(void) next_wake_time = timespec_add(now, TIMER_DEFER_REPEAT_NS); return; } - timer_repeat_until = timespec_add(now, TIMER_IDLE_REPEAT_NS); + timer_repeat_until = tru = timespec_add(now, TIMER_IDLE_REPEAT_NS); } // Next timer in the past or near future - wait for it to be ready |