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

◆ force_resume()

bool MayaFlux::Vruta::GraphicsRoutine::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 334 of file Routine.cpp.

335{
336 if (!m_handle || m_handle.done()) {
337 return false;
338 }
339 m_handle.resume();
340 return true;
341}
std::coroutine_handle< promise_type > m_handle
Handle to the underlying coroutine.
Definition Routine.hpp:644

References m_handle.