diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-10-29 03:40:57 +0300 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-10-29 03:40:57 +0300 |
commit | 51a06b3c44509c72279b5cfcf2b52b9a35c461b0 (patch) | |
tree | 8b0a5c4c3334d5453194779fac51d32afb4be79c /os/utils.c | |
parent | 196c5836f463c28f633bbba847f59acd5935359d (diff) |
WaitForSomething: only rewind when delta is more than 250ms
Only rewind time when we're more than (original delta + 250ms) away from
executing the timer.
When we're walking the timer list, use a goto to iterate all of them from
the start again, since timers may drop out of the list.
Don't bother trying to be smart in TimerSet, we'll pick it up in
WaitForSomething anyway.
Diffstat (limited to 'os/utils.c')
0 files changed, 0 insertions, 0 deletions