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

◆ notify_complete()

template<typename RoutineType >
void MayaFlux::Vruta::routine_promise< RoutineType >::notify_complete ( )
inlinenoexcept

Definition at line 54 of file Promise.hpp.

55 {
56 completion_signaled.store(true);
57 if (!completion_registered.load() || completion_notified.exchange(true))
58 return;
59
61 }
MAYAFLUX_API void invoke_routine_completion(std::function< void()> callback) noexcept
Definition Routine.cpp:6
std::atomic< bool > completion_registered
Definition Promise.hpp:140
std::atomic< bool > completion_notified
Definition Promise.hpp:141
std::atomic< bool > completion_signaled
Definition Promise.hpp:139
std::function< void()> completion_callback
Definition Promise.hpp:142

References MayaFlux::Vruta::invoke_routine_completion().

Referenced by MayaFlux::Vruta::routine_promise< RoutineType >::CompletionAwaiter::await_suspend().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: