Interpreter lock

Robin Dunn robin at alldunn.com
Sat Oct 23 14:36:17 EDT 1999


If the API docs mention several times that if a thread already has aquired
the global interpreter lock and attepts to do so again that a dealock will
happen.  I now know for a fact that this is true!


Is there a way to find out from the API if a given thread (via its
PyThreadState structure) has the interpreter lock already?

--
Robin Dunn
Software Craftsman
robin at AllDunn.com
http://AllDunn.com/robin/
http://AllDunn.com/wxPython/  Check it out!






More information about the Python-list mailing list