[Stackless] atomic

Jeff Senn senn at maya.com
Tue Sep 16 17:13:01 CEST 2008

For the record: I, too, am using setatomic (since I have a preemptive  
tasklet scheduler -- and the scheduler itself is a tasklet and hence  
some control over preemption).

Also the stackless module (although it is a built in) should be  
conducive to
"runtime patching". E.g.

import stackless
class atomic:
   ...stuff here...
stackless.atomic = atomic
del atomic

On Sep 15, 2008, at 6:20 PM, Richard Tew wrote:

> 'stackless' is a C extension module.  This 'atomic' object would have
> to be written in C.  Not many people use the atomic features, as
> indicated by the fact you're the first I have heard of in a long time.
> We would be more than happy to provide a context manager, if you (or
> anyone for that matter) provided patches to add it, given the patches
> were of sufficient quality.
> Cheers,
> Richard.
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless

More information about the Stackless mailing list