[Stackless] Tasklets local storage

Fernando Miranda fcmiranda at gmail.com
Wed Jun 1 21:03:04 CEST 2011


Many thanks Richard. Stackless' an amazing tool by the way.



On Tue, May 31, 2011 at 7:38 PM, Richard Tew <richard.m.tew at gmail.com> wrote:
> 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...
> 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
>
>
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless
>



More information about the Stackless mailing list