[Python-Dev] Preventing PyEval_AcquireLock deadlock

Robin Dunn robin@alldunn.com
Fri, 14 Sep 2001 13:33:22 -0700


Is there an easy way in the API to check if the current thread already has
the interpreter lock so I can avoid calling PyEval_AcquireLock again?  If
so, is it available all the way back to 1.5.2?

--
Robin Dunn
Software Craftsman
robin@AllDunn.com       Java give you jitters?
http://wxPython.org      Relax with wxPython!