richard.m.tew at gmail.com
Sun Nov 15 21:56:55 CET 2009
On Sat, Nov 14, 2009 at 6:06 PM, Denis Bilenko <denis.bilenko at gmail.com> wrote:
> So, that's how greenlet's switch() and throw() methods are used in gevent.
> The question was are such methods available in Stackless or they have
> to be emulated
> (I guess by attaching a Channel to every Tasklet).
Thanks for the detail Denis. It's been a while since I have written
anything with greenlets, so it didn't click right away.
Yes, you would need to have a custom channel to block each tasklet on.
More information about the Stackless