[issue8299] Improve GIL in 2.7

Kristján Valur Jónsson report at bugs.python.org
Sat Apr 3 14:33:44 CEST 2010


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Martin: Well, this patch was originally conceived more as a demonstration of the GIL problem and an alternative fix proposal.
However, it is possible to configure it so that there is no change from existing functionality, simply by not including thread_gil.h in thread_pthread.h and thread_nt.h.  The only change would then be the presence of the new PyThread_type_gil and associating locking functions which delegate directly to the old PyThread_type_lock functions.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8299>
_______________________________________


More information about the Python-bugs-list mailing list