[issue4751] Patch for better thread support in hashlib
Lukas Lueg
report at bugs.python.org
Sun Jan 4 23:25:07 CET 2009
Lukas Lueg <knabberknusperhaus at yahoo.de> added the comment:
I've modified haypo's patch as commented. The object's lock should be
free 99.9% of the time so we try non-blocking first and can thereby skip
releasing and re-locking the gil (to avoid a deadlock).
Added file: http://bugs.python.org/file12587/hashlibopenssl_small_lock-4.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4751>
_______________________________________
More information about the Python-bugs-list
mailing list