Hello, I am embedding a python script in a C++ application. The script can be called simultaneously from multiple threads.
What is the correct way to implement this situation: 1) Have unique python interpreter instantiations ( Py_Initialize() ) for each thread. 2) Have one python interpreter, and implement a lock on it so it can't be called simultaneously by multiple threads? Thanks Amit -- http://mail.python.org/mailman/listinfo/python-list