| 84 | } |
| 85 | |
| 86 | python_reader::~python_reader() |
| 87 | { |
| 88 | if (python::is_active() && m_process_pool != nullptr) { |
| 89 | python::global_interpreter_lock gil; |
| 90 | PyObject_CallMethod(m_process_pool, "terminate", nullptr); |
| 91 | PyObject_CallMethod(m_process_pool, "join", nullptr); |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | const std::vector<El::Int> python_reader::get_data_dims() const |
| 96 | { |
nothing calls this directly
no test coverage detected