embedded multithreaded DLL
Robert Langmeier
robert at langmeier.ch
Tue Aug 12 15:49:36 EDT 2008
Hi all,
I'm currently writing a DLL which is called from an external third party
application in multiple threads. I saw and found some piece of code to save
the Python interpreter state.
What is not clear to me is, do I have to save the state before any call to
Python C/API or only to those that deal with the interpreter like
PyImport_Import or PyObject_CallObject or PyRun_String.
Thanks,
Robert
More information about the Python-list
mailing list