|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
|
inline |
Deliver a value to the waiting coroutine, or store it as pending.
Atomically takes the waiter slot. If a waiter is present, delivers directly and resumes. Otherwise stores the value for the next await_ready() or post-registration check.
Safe to call from any thread.
| value | Value to deliver. |
Definition at line 63 of file BroadcastSource.hpp.
References MayaFlux::Vruta::BroadcastSource< T >::m_pending_flag, MayaFlux::Vruta::BroadcastSource< T >::m_pending_value, and MayaFlux::Vruta::BroadcastSource< T >::m_waiter.