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

◆ set_should_terminate()

template<typename RoutineType >
void MayaFlux::Vruta::routine_promise< RoutineType >::set_should_terminate ( bool  value)
inlinenoexcept

Definition at line 47 of file Promise.hpp.

48 {
49 should_terminate.store(value, std::memory_order_release);
50 if (value)
52 }
glm::vec3 value
void notify_complete() noexcept
Definition Promise.hpp:54
std::atomic< bool > should_terminate
Flag indicating whether the coroutine should be terminated.
Definition Promise.hpp:137

References value.