[quoted lines by Samuel Thibault on 2007/09/09 at 21:13 +0200] >Mario Lang, le Sun 09 Sep 2007 20:51:54 +0200, a écrit : >> When I run "rdate" to resync my computers clock with some internet >> time server, it can happen that brltty stops to interact with my display for >> a certain period of time. > >Unfortunately, this is a know problem with gettimeofday() and such >adjusting programs. For small clock shifts, rdate should use adjtime for >getting a smooth shift. For bigger shifts, gettimeofday() indeed gets >shifted.
What if we make asyncWait() quit if it calculates a negative elapsed time? That particular wait will be a bit shorter, but the refresh loop should reset after that. Scheduled events like driver restart attempts wouldn't occur for a while, but the main loop should be okay. Is that sufficient? -- Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me EMail: [EMAIL PROTECTED] | Canada K2A 1H7 | if you're concerned about Hell. http://FamilyRadio.com/ | http://Mielke.cc/bible/ _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty