[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

PyGILState_Ensure() produces a deadlock

Alexander Eisenhuth

2/7/2008 11:21:00 AM

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