Mark Dickinson added the comment:

> I'm not sure that "Waiting for the GIL" line is reliable

Right; I was interpreting that line more as "I don't have the GIL at the 
moment", which I think applies to all threads, including the main thread. It's 
pretty clear that threads 2-5 really are waiting for the GIL, and (as you point 
out), for thread 1 to be where it is, it must have also released the GIL by 
that point.

Agreed about the gdb results for the -O3 build.

So it looks as though something's gone wrong with the "I've just released the 
GIL; now someone else can pick it up" signaling mechanism.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26360>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to