[Stackless] Question about atomic
Tom Locke
tom at livelogix.com
Thu Jan 8 11:42:03 CET 2004
Hello again
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'
Right?
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?
Cheers
Tom.
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list