I am embedding a Python interpreter in a C++ app for Windows.

The main thread in my application calls PyEval_InitThreads();

At some point, the main thread creates a new thread to do some concurrent work
using the Python interpreter.

The trouble is that in my worker thread I am never able to complete the call
PyEval_AcquireLock(), since something else must be holding the GIL (Python gets
stuck in the WaitForSingleObject call)

I cannot figure out what is holding the GIL, and believe me I've looked. Any
debugging tips or glaring errors in my methodology?

Thanks!

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to