Embedding Python 2.2 in non-reentrant application
Stefan Werner
stefan1werner at hotmail.com
Tue Jun 11 16:34:52 EDT 2002
Hi group,
I am working on embedding Python 2.2 in a large scale application. Now the
problem is, that Python 2.2 supports multithreading, where the functions we
want to expose to Python are not threadsafe. Is there something like a flag
to make my whole module single-threaded for Python access or do I have to
wrap every single function call in
Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS macros?
Thanks,
Stefan
More information about the Python-list
mailing list