Embedding Python in a multithreaded managed C++ application

jens.hester at googlemail.com jens.hester at googlemail.com
Tue Oct 16 17:05:19 EDT 2007


Hi experts,
I am currently embedding the Python interpreter 2.3.4 in a managed C++
application (I currently use an unmanaged dll which is linked to
Python23.lib). Forget about Ironpython - no binary compatibility for
extension modules, forget about a decent C API, by the way...

After a lot of work I managed to embed the interpreter with the Global
Python Interpreter lock correctly used from each thread. I have,
however, still a deadlock which I am not able to find and is related
to the dll I use. Does anybody have an idea how to debug the exact
source of this deadlock by means of the Python debug options.
Thanks a lot for any help.
ThreadShredder




More information about the Python-list mailing list