2 #ifdef _MADARA_PYTHON_CALLBACKS_
4 #ifndef _MADARA_PYTHON_ACQUIRE_GIL_H_
5 #define _MADARA_PYTHON_ACQUIRE_GIL_H_
7 #include <boost/python.hpp>
29 state_ = PyGILState_Ensure();
34 PyGILState_Release(
state_);
This class encapsulates accessing the global interpreter lock.
Copyright(c) 2020 Galois.