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

◆ end_write()

void MayaFlux::Memory::Seqlock::end_write ( )
inlinenoexcept

End a write: advances the counter back to an even value.

All stores to the guarded region must be visible before this returns.

Definition at line 69 of file SeqLock.hpp.

70 {
71 m_seq.fetch_add(1U, std::memory_order_release);
72 }
std::atomic< uint32_t > m_seq
Definition SeqLock.hpp:115

References m_seq.

Referenced by MayaFlux::Memory::SeqlockWriteGuard::~SeqlockWriteGuard().

+ Here is the caller graph for this function: