Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SimpleITK/SimpleITK
/ PyGILStateEnsure
Method
PyGILStateEnsure
Wrapping/Python/sitkPyCommand.cxx:36–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
{
35
public:
36
PyGILStateEnsure() { m_GIL = PyGILState_Ensure(); }
37
~PyGILStateEnsure() { PyGILState_Release(m_GIL); }
38
39
private:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected