[Twisted-Python] Capture blocking calls?

Itamar Shtull-Trauring itamar at itamarst.org
Thu Jun 16 11:16:15 EDT 2005


On Thu, 2005-06-16 at 14:53 +0300, Tommi Virtanen wrote:

> d = reactor.callInThread(smallerUglyThingThatBlocks)

this should be:

  d = twisted.internet.threads.deferToThread(smallerUglyThingThatBlocks)

callInThread does not return any result.





More information about the Twisted-Python mailing list