multithreading and shared dictionary

K.S.Sreeram sreeram at tachyontech.net
Sat Jul 8 05:50:32 EDT 2006


Alex Martelli wrote:
> Wrong, alas: each assignment *could* cause the dictionary's internal
> structures to be reorganized (rehashed) and impact another assignment
> (or even 'get'-access).

but wont the GIL be locked when the rehash occurs?

Regards
Sreeram

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20060708/810bce59/attachment.sig>


More information about the Python-list mailing list