With Stackless ou get tasklets and channels. Channels let you communicate between tasklets.
Running this you get:
Now the third and final thing that Stackless offers is cooperative multitasking. To see how this works, just uncomment the line with stackless.schedule() in it and rune it again.
That's about it really, but as you know it's not what you got it's how you use it. There's a much more detailed explanation of what we just did here and the point is that this allows you to use continuations.
See my next post An Alternate Explanation of Continuations
Good luck fellow travellers.
No comments:
Post a Comment