[Twisted-Python] Deterministic TimerService
itamar at itamarst.org
Thu Mar 4 11:43:26 EST 2004
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
More information about the Twisted-Python