PyGILState_Ensure 893 source4/lib/wmi/wmi_wrap.c SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} PyGILState_Ensure 909 source4/lib/wmi/wmi_wrap.c # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()