[Stackless] Tasklets local storage
Richard Tew
richard.m.tew at gmail.com
Wed Jun 1 00:38:03 CEST 2011
There's tasklet local storage support in Stacklesslib. You can see it in
use in stacklesslib/replacements/threading.py.
http://pypi.python.org/pypi/stacklesslib
Note that the egg does not contain the full source. You are better to go
with the zip or the windows installer. I don't seem to be able to get eggs
to generate properly...
<http://pypi.python.org/pypi/stacklesslib>Cheers,
Richard.
On Wed, Jun 1, 2011 at 5:29 AM, Fernando Miranda <fcmiranda at gmail.com>wrote:
> Hello people. I'm starting with Stackless so it's a whole new amazing
> world for me.
> I usually use regular threads, and they normally have Thread-local
> storage (TLS), which
> is a very useful feature when you need NOT share memory with other threads.
>
> So, I'm wondering if Stackless has something similar: A way to store
> local memory
> (a python object) for a given tasklet. Is that possible?
>
>
> Thanks in advance.
> -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/20110601/4b358b6a/attachment.html>
More information about the Stackless
mailing list