[Twisted-Python] wxreactor, serialport, and Windows
manlio_perillo at libero.it
Wed Feb 7 11:04:52 EST 2007
Jean-Paul Calderone ha scritto:
> On Wed, 07 Feb 2007 09:55:58 -0500, Itamar Shtull-Trauring
> <itamar at itamarst.org> wrote:
>> On Wed, 2007-02-07 at 07:36 -0500, Andy.Henshaw at gtri.gatech.edu wrote:
>>> Now, I need to marry it to a wxPython GUI. Is there any reasonable
>>> way to support the twisted.internet.serialport code using wxreactor?
>> You'll probably have to hack up a version of _threadedselect that's
>> based on win32eventreactor, unfortunately, since we don't yet have a way
>> to make it pluggable.
> Another path would be to continue to use win32er and use wxPython in a
> second thread without getting wxreactor involved at all.
What about just run WaitForMultipleObjects in a separate thread and
dispatch the events in the main thread?
Regards Manlio Perillo
More information about the Twisted-Python