[Stackless] Scheduling Examples, Problems, Solutions, and Questions
Kristján V. Jónsson
kristjan at ccpgames.com
Tue Mar 21 17:20:49 CET 2006
If the channels had a buffer, they would be useless as a scheduling mechanism. Implicit in the channel semantics is the fact that once your channel.send() has completed, the receiver has already read your message. If there were buffering, you would have no such guarantee.
Thus, the channel enforces some strong semantices, whereas the Queue you mention may choose to relax them in favor of something else.
I think, channels with buffers ease tasklet programming.
Stackless mailing list
Stackless at stackless.com
More information about the Stackless