Embedding: many interpreters OR one interpreter with many thread states ?
adsheehan at eircom.net
adsheehan at eircom.net
Wed Jun 8 10:06:18 EDT 2005
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
More information about the Python-list
mailing list