[Stackless] Re: [Python-Dev] Stackless Design Q.
Gordon McMillan
gmcm at hypernet.com
Thu Feb 21 03:00:50 CET 2002
On 20 Feb 2002 at 16:01, Greg Ewing wrote:
[Christian's plea]
> It seems to me you need only two things:
>
> (1) A constructor for new tasklets:
>
> t = tasklet(f)
[snip]
> (2) A way of switching to another tasklet:
>
> t.transfer()
[snip]
> All the other stuff you talk about -- passing
> values between tasklets, rings of runnable tasklets,
> scheduling policies, etc -- can all be implemented
> in Python on top of these primitives.
Unless you've got a way to detect or pass tasklet's through transfer, you don't have enough.
-- Gordon
http://www.mcmillan-inc.com/
_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless
More information about the Stackless
mailing list