[PSA MEMBERS] Interpreter lock

Guido van Rossum guido at CNRI.Reston.VA.US
Sat Oct 23 15:21:10 EDT 1999


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

No; Python's internal lock data structures don't record the owning
thread.

--Guido van Rossum (home page: http://www.python.org/~guido/)




More information about the Python-list mailing list