PyGILState_Ensure() produces a deadlock
Alexander Eisenhuth
newsuser at stacom-software.de
Thu Feb 7 06:21:26 EST 2008
Hello,
In my mixed C++ / Python Application there are situations where a
PyGILState_STATE gil_state = PyGILState_Ensure() produces a deadlock.
The background is that a call fro python to cpp is directed to another subsystem
that tries to access the GIL (through my C++ wrapper) from another thread.
Does Pyhon API offer services to ship around that? Other hints?
Thanks a lot
More information about the Python-list
mailing list