MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ force_resume()

bool MayaFlux::Vruta::FreeRoutine::force_resume ( )
overridevirtual

Force resume the coroutine, bypassing all checks Used only during shutdown to push coroutines to final_suspend.

Returns
True if coroutine was resumed, false if already done

Implements MayaFlux::Vruta::Routine.

Definition at line 652 of file Routine.cpp.

653{
654 if (!m_handle || m_handle.done())
655 return false;
656 m_handle.resume();
657 return true;
658}
std::coroutine_handle< promise_type > m_handle
Definition Routine.hpp:811

References m_handle.