[Twisted-Python] Re: flow.Zip

Philippe Lafoucrière lafou at wanadoo.fr
Wed Apr 23 02:57:50 EDT 2003


On Wed, 2003-04-23 at 02:54, Clark C. Evans wrote:
> On Tue, Apr 22, 2003 at 09:54:30PM +0200, Philippe Lafoucrière wrote:
> | just a mail to remind you to code flow.zip.
> 
> Done
Thank you !! I'll test it in a few minutes. Feedback in an hour.


> Cooperate() is called when an iterator would block, thus,
> the flow module allows other tasks (connections, users)
> to continue.   If you look at the source for flow.Threaded
> you will see that it raises Cooperate() when the database
> hasn't produced data yet.

Ho well. So, Cooperate() is a kind de defered (for flows) ?

-- 
Philippe Lafoucrière <lafou at wanadoo.fr>
InFuzzion





More information about the Twisted-Python mailing list