[Twisted-web] [twisted-web] Deferred and threads

Drew Smathers drew.smathers at gmail.com
Fri Mar 19 22:14:33 EDT 2010

On Fri, Mar 19, 2010 at 6:36 AM, Joson Mandaro <joson.prog at gmail.com> 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.

More information about the Twisted-web mailing list