MCPcopy Create free account
hub / github.com/SimpleITK/SimpleITK / ~PyGILStateEnsure

Method ~PyGILStateEnsure

Wrapping/Python/sitkPyCommand.cxx:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35public:
36 PyGILStateEnsure() { m_GIL = PyGILState_Ensure(); }
37 ~PyGILStateEnsure() { PyGILState_Release(m_GIL); }
38
39private:
40 PyGILState_STATE m_GIL;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected