[Twisted-Python] LoopingCall at a non-idling reactor

Ilya Etingof ilya at glas.net
Sat Jul 18 13:33:51 MDT 2009


Dear Twisters,

I can't get Twisted reactor calling my function in a more or less 
periodic fashion with the LoopingCall mechanics.

With select()-based reactor, the LoopingCall object seems to call back my 
timer function only on select() timeout. If I/O pace does not allow 
select() to time out, LoopingCall never calls my function.

How do I implement a "timer" function what would work regardless of the 
rate of I/O events?

thanks,
ilya




More information about the Twisted-Python mailing list