[Twisted-Python] when to use callInThread?

Dfgqq Dfgqq dynamicgl at gmail.com
Sat May 7 04:11:11 MDT 2011


Hi Ivh

   I just finished the reading of deterToThread Part. I think it is what i
need. Thank you anyway..

Regards

gelin yan

On Sat, May 7, 2011 at 5:49 PM, Laurens Van Houtven <_ at lvh.cc> wrote:

> Why is it invoked in a multithread environment? You can use deferToThread,
> which gives you a deferred which runs in a thread.
>
> cheers
> lvh
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20110507/dbc7ab5e/attachment.html>


More information about the Twisted-Python mailing list