On Fri, Jun 19, 2009 at 5:46 PM, Najem Karim<[email protected]> wrote: > I know the advantage of channels but I have a different scenario > to deal with. I have to run only one tasklet at a time i.e > I do the scheduling by myself. The first tasklet myTasklet1 > is the main one and it must be executed step by step (this is why run(1)) > and when it returns, I check some conditions to see > if I have to run the second tasklet, when yes I remove myTasklet1 from the > list and create and start the second tasklet myTasklet2 until its done. > The problem is that myTasklet2 needs information about the status of > myTasklet1 (i.e. some local variables). I never intend to use channels, by > the way since it does not fit in my concept.
You don't want to use the scheduler and you don't want to use channels. Why are you using Stackless? :-) Cheers, Richard. _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
