[issue7946] Convoy effect with I/O bound threads and New GIL
Antoine Pitrou
report at bugs.python.org
Tue Apr 27 18:45:58 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> I stand corrected. However, I'm going to have to think of a
> completely different approach for carrying out that functionality as I
> don't know how the take_gil() function is able to determine whether
> gil_last_holder has been deleted or not.
Please note take_gil() currently doesn't depend on the validity of the
pointer. gil_last_holder is just used as an opaque value, equivalent to
a thread id.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7946>
_______________________________________
More information about the Python-bugs-list
mailing list