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

◆ replace()

template<typename T>
void MayaFlux::Memory::SnapshotCell< T >::replace ( const T * next)
inlineprivate

Definition at line 202 of file SnapshotCell.hpp.

203 {
204 retire(m_head.exchange(next));
205 }
std::atomic< const T * > m_head
Lock-free cell holding one immutable snapshot of a value, read without blocking.

References m_head, and retire().

Referenced by publish(), and reset().

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