diff options
author | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-01-23 17:01:08 +0000 |
---|---|---|
committer | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2011-01-23 17:01:08 +0000 |
commit | c15760b9e502d12e4905ef898e9694436ec3bde3 (patch) | |
tree | f8497d464654c9a597ba626a57df1ea2b073cac5 /thread.c | |
parent | 72e1f7501bd6806022b7a33e1424ea2cc7fa4059 (diff) | |
download | lcd4linux-c15760b9e502d12e4905ef898e9694436ec3bde3.tar.gz |
timer.c: skip intermediate timer intervals
"timer_inc()" now checks how many trigger intervals have passed since
a given timer has been updated. This might be due to "negative clock
skew" (think of summer time) or the fact that some processing took too
long (i.e. fetching of a web site). These missed trigger intervals
are then skipped and the user is notified so that he may adapt his
timer settings. This handling is essential, otherwise unprocessed
timers might stack up and would trigger continuously while at the same
time becoming notoriously late and unreliable.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1141 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions