| 21 | } |
| 22 | |
| 23 | inline void PyCoreStart(aimrt::runtime::core::AimRTCore& core) { |
| 24 | // Release GIL before blocking |
| 25 | pybind11::gil_scoped_release release; |
| 26 | core.Start(); |
| 27 | pybind11::gil_scoped_acquire acquire; |
| 28 | } |
| 29 | |
| 30 | inline void PyCoreRegisterModule( |
| 31 | aimrt::runtime::core::AimRTCore& core, const aimrt::ModuleBase* module) { |