A
adsheehan
Hi,
Does anyone know the reasoning or pros/cons for either (in a
multi-threaded C++ app):
- creating many sub-interpreters (Py_NewInterpreter) with a thread
state each
Or
- creating one interpreter with many thread states (PyThreadState_New)
When do I choose one approach over the other and why ?
Thanks
Alan
Does anyone know the reasoning or pros/cons for either (in a
multi-threaded C++ app):
- creating many sub-interpreters (Py_NewInterpreter) with a thread
state each
Or
- creating one interpreter with many thread states (PyThreadState_New)
When do I choose one approach over the other and why ?
Thanks
Alan