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

◆ set_should_terminate()

void MayaFlux::Vruta::FreeRoutine::set_should_terminate ( bool  should_terminate)
inlineoverridevirtual

Set should_terminate flag in promise.

Parameters
should_terminateWhether the coroutine should be terminated

Implements MayaFlux::Vruta::Routine.

Definition at line 793 of file Routine.hpp.

794 {
795 if (m_handle)
796 m_handle.promise().should_terminate = v;
797 }
std::coroutine_handle< promise_type > m_handle
Definition Routine.hpp:811