]> git.webhop.me Git - lcd4linux.git/commit
timer.c: skip intermediate timer intervals
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 23 Jan 2011 17:01:08 +0000 (17:01 +0000)
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 23 Jan 2011 17:01:08 +0000 (17:01 +0000)
commitc15760b9e502d12e4905ef898e9694436ec3bde3
treef8497d464654c9a597ba626a57df1ea2b073cac5
parent72e1f7501bd6806022b7a33e1424ea2cc7fa4059
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
drv_PICGraphic.c
timer.c