Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?
no-spam at no-spam-no-spam.invalid
Thu Nov 9 20:24:35 CET 2006
Paul Rubin wrote:
> robert <no-spam at no-spam-no-spam.invalid> writes:
>> what about speed. Is it true that IronPython is almost as fast as C-Python meanwhile?
>> When this all is really true, its probably a proof that putting out
>> LOCK-INC-lock's (on dicts, lists, mutables ...) in CPython to remove
>> the GIL in future should not be really so expensive as it was teached
>> in the past :-)
> I don't think IronPython uses locks that way. AFAIK it doesn't use
> reference counts, and relies on user-supplied synchronization to keep
> stuff like dictionaries safe.
thus there would be crash if 2 threads use the global variables (module.__dict__) of a module?
Cannot imagine .. that would would break most reasons for nice python threading.
More information about the Python-list