Lines Matching refs:PyGILState_Ensure
752 The :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` functions do
757 gstate = PyGILState_Ensure();
915 .. c:function:: PyGILState_STATE PyGILState_Ensure()
921 thread-related APIs may be used between :c:func:`PyGILState_Ensure` and
928 :c:func:`PyGILState_Ensure` was called, and must be passed to
931 unique call to :c:func:`PyGILState_Ensure` must save the handle for its call
947 be the same as it was prior to the corresponding :c:func:`PyGILState_Ensure` call
951 Every call to :c:func:`PyGILState_Ensure` must be matched by a call to
1205 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`,
1243 :c:func:`Py_END_ALLOW_THREADS`, and :c:func:`PyGILState_Ensure`,
1378 of matching :c:func:`PyGILState_Ensure` and :c:func:`PyGILState_Release` calls.