| 879 | } |
| 880 | |
| 881 | void CompiledTransformation::wait_worker() { |
| 882 | mgb_assert(m_executable != nullptr); |
| 883 | std::unique_lock lock{m_mutex}; |
| 884 | m_cv.wait(lock, [&] { return m_graph_status == 0; }); |
| 885 | lock.unlock(); |
| 886 | } |
| 887 | |
| 888 | std::exception_ptr CompiledTransformation::set_exception( |
| 889 | std::exception_ptr exc) noexcept { |