Queue get timeout parameter question

Paul Rubin http
Tue Apr 10 06:20:37 CEST 2007


"Godzilla" <godzillaismad at gmail.com> writes:
> After the time sync, say 15 seconds backward, the thread is sitting on
> that get() method for a total of 17 seconds. We can only sync the
> device once per day and the time can drift up to 15 seconds per day!!

Try to avoid syncing lke that.  System clocks drift but the drift
rates tend to be constant, so there are schemes for gradually slowing
down or speeding up the system clock in order to keep it synchronized
with an external reference.

> Anyone knows a solution to this problem or an alternative method?

http://www.ntp.org



More information about the Python-list mailing list