Re: [twisted-web] Deferred and threads

Drew Smathers <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.