[Twisted-Python] Twisted Advice

Jean-Paul Calderone exarkun at divmod.com
Thu Apr 17 07:27:40 EDT 2008

On Thu, 17 Apr 2008 12:04:13 +0100, Paul Wilson <paulalexwilson at gmail.com> wrote:
> [snip]
>Ahh. Okay; thanks for this. deferToThread looks like a good option
>here and seems to fit what I'm looking for. From experience, can you
>point me towards some good code that uses deferToThread?

Here's some:


It's somewhat complicated by the addition of timeout support on top of an
API which doesn't support timeouts, but it's one of only two uses of the
API in Twisted and I think the other is even more confusing. :)


More information about the Twisted-Python mailing list