On Fri, Mar 19, 2010 at 6:36 AM, Joson Mandaro <[email protected]> wrote:
> Hi all,
> I'm newbie and puzzled by some problems.
>           I create five deferred instances, Then when all of them get the
> responses, will they run in five threads or one by one ? I'm not sure to use
> multiple threads if they'll usually run in synchrony.
>           Best regards,
>

I think this question is better for twisted-python mailing list.  I'm
not sure where you're confused but Deferreds and threads don't have
anything to do with each other.  Deferred callbacks don't execute in
separate threads or anything like that.  The order of callbacks
depends on the order in which data arrives.

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to