MCPcopy Create free account
hub / github.com/LBANN/lbann / ~global_interpreter_lock

Method ~global_interpreter_lock

src/utils/python.cpp:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154global_interpreter_lock::~global_interpreter_lock()
155{
156 if (is_active()) {
157 PyGILState_Release(static_cast<PyGILState_STATE>(m_gil_state));
158 }
159}
160
161// ---------------------------------------------
162// object class

Callers

nothing calls this directly

Calls 1

is_activeFunction · 0.85

Tested by

no test coverage detected