A couple garbage collector questions
Douglas Alan
nessus at mit.edu
Wed Apr 4 14:46:59 EDT 2001
"Daniel Dittmar" <daniel.dittmar at sap.com> writes:
> But RC is quite thread hostile (as you have to lock on
> increment/decrement). Not a problem in current Python because of
> the global lock, but possibly limiting in the future.
Why do you need to lock on increment/decrement? Isn't incrementing or
decrementing an integer an atomic operation on most CPU's?
|>oug
More information about the Python-list
mailing list