embedded multithreaded DLL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Langmeier

    embedded multithreaded DLL

    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_CallOb ject or PyRun_String.

    Thanks,
    Robert


Working...