Re: [Twisted-Python] how manual run LoopingCall.f

2010-01-01 Thread Glyph Lefkowitz
On Dec 28, 2009, at 8:05 AM, ploutosss ploutosss wrote: > When I need to perform some function with a time interval of less than > one second, LoopingCall too slow. LoopingCall was originally designed for playback of voice samples, in an application which did that once every 10ms, or 0.01 secon

[Twisted-Python] how manual run LoopingCall.f

2009-12-28 Thread ploutosss ploutosss
I use _threadedselect reactor. My waker its one line: eventmodule.post(eventmodule.Event(TWISTEDEVENT, iterateTwisted=func)) its send event, to pygame queue. My pygame loop: class PygameController(object):    _tick = Tick()     def _eventIterator(self):         while True:             if self._tick