[Stackless] threading.local analogue to tasklets

Arnar Birgisson arnarbi at gmail.com
Thu Jun 21 11:14:48 CEST 2007


Hæ,

On 6/21/07, Richard Tew <richard.m.tew at gmail.com> wrote:
> But I personally think that is bad practice and it is better to write
> your own helper module which you go to for things like creating new
> tasklets, like CCP has a modified version of uthread.py:
>
> http://stacklessexamples.googlecode.com/svn/trunk/libraries/uthread-ccp/uthread.py

Thank you, that's just what I need.

Will .atomic() cause problems if I'm not using preemtive scheduling?

Thanks again,
Arnar

ps. fyi what I'm trying is to make cherrypy work with tasklets instead
of threads

_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list