Initialize Python interpreter and directly release the GIL after construction.
More...
#include <PyUtil.h>
Initialize Python interpreter and directly release the GIL after construction.
Definition at line 42 of file PyUtil.h.
◆ PyGilReleasedInterpreter()
Util::PyGilReleasedInterpreter::PyGilReleasedInterpreter |
( |
| ) |
|
◆ PrintDebugInfo()
void Util::PyGilReleasedInterpreter::PrintDebugInfo |
( |
| ) |
|
Writes information on the Python interpreter configuration to DynExp's log.
Definition at line 51 of file PyUtil.cpp.
◆ GILRelease
py::gil_scoped_release Util::PyGilReleasedInterpreter::GILRelease |
|
private |
Release which releases the GIL at construction.
Definition at line 54 of file PyUtil.h.
◆ Interpreter
py::scoped_interpreter Util::PyGilReleasedInterpreter::Interpreter |
|
private |
Python interpreter.
Definition at line 52 of file PyUtil.h.
◆ Logger
Wrapper to forward DynExp's event log to Python.
Definition at line 51 of file PyUtil.h.
◆ Module_sys
py::module_ Util::PyGilReleasedInterpreter::Module_sys |
|
private |
Handle to the Python sys module.
Definition at line 53 of file PyUtil.h.
The documentation for this class was generated from the following files: