46#define PYTHONQT_FULL_THREAD_SUPPORT
48#ifdef PYTHONQT_FULL_THREAD_SUPPORT
49 #define PYTHONQT_GIL_SUPPORT
50 #define PYTHONQT_ALLOW_THREADS_SUPPORT
53#ifdef PYTHONQT_GIL_SUPPORT
55 #define PYTHONQT_GIL_SCOPE PythonQtGILScope internal_pythonqt_gilscope;
80 static bool _enableGILScope;
85 #define PYTHONQT_GIL_SCOPE
97#ifdef PYTHONQT_ALLOW_THREADS_SUPPORT
99 #define PYTHONQT_ALLOW_THREADS_SCOPE PythonQtThreadStateSaver internal_pythonqt_savethread;
128 #define PYTHONQT_ALLOW_THREADS_SCOPE
PyObject * PythonQtConvertPairToPython(const void *inPair, int metaTypeId)
static void setGILScopeEnabled(bool flag)
static bool isGILScopeEnabled()
Check if GIL scopes are enabled.
PythonQtThreadStateSaver()
~PythonQtThreadStateSaver()