[Stackless] Just Not Getting One Aspect of Tasklets and Channel Receive on Pong Example

Carl, Andrew F (AS) a.carl at ngc.com
Fri Mar 12 21:44:57 CET 2010


The pong example on p. 13 of the "Why Stackless" manual is unclear to
me.  It appears that the tasklet statement puts the task on the queue
once, but yet it seems that the send to the "while receive" is
effectively creating another tasklet on the queue. It would seem that
they should bounce back and forth only once each without the addition of
a new tasklet statement. Could someone please clarify this?
Thanks,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20100312/57bde460/attachment.htm>


More information about the Stackless mailing list