[Twisted-Python] Reactor callback from the wrong thread

Lars Ivar Igesund larsivi at gmail.com
Fri May 29 03:02:11 EDT 2009

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)

Lars Ivar

On Thu, May 28, 2009 at 3:21 PM, Itamar Shtull-Trauring
<itamar at 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 at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

More information about the Twisted-Python mailing list