[Stackless] Question about atomic
tom at livelogix.com
Thu Jan 8 11:42:03 CET 2004
A question about the semantics of stackless.atomic()
If, in a function, I do
a = stackless.atomic()
Then there will be no autosheduling until the object is destoryed, i.e.
- at the end of the function
- if I overwrite the value of 'a' or 'del a'
What about explicit scheduling points?
If I do a channel send/receive while the atomic is in effect, is that
ok? Will the sceduler de-schedule me as normal? From my experiments it
seems the answer is yes.
What about when I am re-sheduled? Is the atomic status back in effect?
Stackless mailing list
Stackless at stackless.com
More information about the Stackless