[Twisted-Python] Re: flow.Zip

Clark C. Evans cce at clarkevans.com
Tue Apr 22 18:54:43 MDT 2003


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

| Hmm, By the way, Cooperate() isn't clear, even with the doc... :-(
| could you explain me that please ?

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.




More information about the Twisted-Python mailing list