[PSA MEMBERS] Interpreter lock

Robin Dunn robin at alldunn.com
Sun Oct 24 01:07:36 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.
>

Bummer.  I did fiure out another way around my troubles though so it didn't
turn out too bad.

--
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