Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

Ross Ridge rridge at csclub.uwaterloo.ca
Tue Nov 7 14:49:30 EST 2006


Martin v. Löwis wrote:
> How would you propose to fix file_repr to prevent such
> a race condition?

The race condition you describe is different from the one Joe Seigh
described.  It's caused because without GIL access to the file object
is no longer thread safe, not because reference counting isn't thread
safe.

                          Ross Ridge




More information about the Python-list mailing list