[Stackless] tasklet sleep()

John Matthew john at compunique.com
Mon Aug 1 23:50:03 CEST 2011


I thought the example from Grant Olsen was pretty simple, I modified it to
do what I wanted.

http://www.grant-olson.net/python/intro-to-stackless-python/browsable-html#pushing-data

It allows you to create stackless 'agents' that use channels to wait for
messages.

HTH

J

On Mon, Aug 1, 2011 at 2:34 PM, Fernando Miranda <fcmiranda at gmail.com>wrote:

> Hi there, I'm wondering which is the best way to implement a sleeping
> function in a tasklet without block the task pipeline. Any ideas?
>
> Many thanks.
> f
>
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20110801/ab9082e9/attachment.html>


More information about the Stackless mailing list