[Twisted-Python] Deterministic TimerService
Norm Petterson
njp at njp.us
Thu Mar 4 14:05:30 EST 2004
Yup, the 1.2.0 TimerService runs like a Swiss watch (no apparent time
slippage at all). Thanks.
I'll remember to check the latest version in the future ;-)...
----- Original Message -----
From: "Itamar Shtull-Trauring" <itamar at itamarst.org>
To: <twisted-python at twistedmatrix.com>
Sent: Thursday, March 04, 2004 11:43 AM
Subject: Re: [Twisted-Python] Deterministic TimerService
> On Thu, 2004-03-04 at 11:08, Norm Petterson wrote:
>
> > While working on an industrial data logger using Twisted, I found that
> > application.internet.TimerService calls my own callLater callable
function
> > before reissuing the next callLater. Consequently, instead of a time
period
> > c, the callable function runs every c+x, where x is the duration of my
own
> > function, and thus appears to slip over time.
>
> TimerService in 1.2.0 uses twisted.internet.task.LoopingCall internally,
> which deals with this a bit better. Try upgrading and tell us if it
> solves your problem?
>
> --
> Itamar Shtull-Trauring http://itamarst.org
> Looking for a job: http://itamarst.org/resume.html
>
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
More information about the Twisted-Python
mailing list