[Twisted-Python] Reactor callback from the wrong thread

Itamar Shtull-Trauring itamar at itamarst.org
Thu May 28 09:21:51 EDT 2009

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

More information about the Twisted-Python mailing list