Time delay loop - better way?
anthonybaxter at gmail.com
Sat Jul 3 17:09:27 CEST 2004
On Sat, 03 Jul 2004 00:50:40 -0700, Josiah Carlson <jcarlson at uci.edu> wrote:
> I have used wxTimers for doing asyncore.poll() scheduling every 1/100th
> a second, and it seemed to work pretty reliably on my celeron 400.
On Windows, shtoom was completely unable to use the wxTimer approach -
it's timer precision is just horrific. We ended up splitting the UI
off into a separate thread than all the time-senstive network stuff. I
will admit that shtoom's requirements are a hell of a lot harsher than
your "typical" application's, though.
(twisted's wxreactor uses wxTimer)
More information about the Python-list