35 m_threadState = PyEval_SaveThread();
42 PyEval_RestoreThread(m_threadState);
48 PyThreadState* m_threadState;
59 :
CPyThreadState(
true), std::unique_lock<CCriticalSection>(critSec)
61 CPyThreadState::Restore();
Definition: pythreadstate.h:16
A std::unique_lock<CCriticalSection> that will relinquish the GIL during the time it takes to obtain ...
Definition: pythreadstate.h:55