[Twisted-Python] threadedselectreactor and twistd
itamar at itamarst.org
Tue Sep 13 12:25:29 EDT 2005
On Tue, 2005-09-13 at 17:39 +0200, Stefano Masini wrote:
> using twisted with GUIs is not trivial, and I found it quite tricky.
> But in the end it's possible and in fact I do it all the time. Here's
> the best solution I could find so far, using wxPython:
> 1) Run wxPython in the main thread
> 2) Run twisted reactor in a secondary thread
> 3) Have special proxy objects that bridge calls from gui code (running
> in one thread) and network code (running inside another)
threadedselectreactor is probably much easier than doing this.
More information about the Twisted-Python