Thanks for the tip, however - in which version was blockingCallFromThread added? It did not wish to be imported from the version I installed via Ubuntu which appears to be 2.5.0. (Bit confused about the version numbering though since Twisted appears to be at something like 8.2)
Best, Lars Ivar On Thu, May 28, 2009 at 3:21 PM, Itamar Shtull-Trauring <ita...@itamarst.org> wrote: > On Thu, 2009-05-28 at 14:04 +0200, Lars Ivar Igesund wrote: > >> If anyone has a good advice, then I'd appreciate it. > > You can call any reactor API from another thread using > reactor.callFromThread, or the more useful > twisted.internet.threads.blockingCallFromThread. So just wrap all places > that call into the reactor. > > Hopefully one day we will have feature to help debug this sort of > problem: > http://twistedmatrix.com/trac/ticket/792 > > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python