MayaFlux 1.0.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 88 of file SeqLock.hpp.

89 {
90 m_seq.fetch_add(1U, std::memory_order_release);
91 }
std::atomic< uint32_t > m_seq
Definition SeqLock.hpp:134

References m_seq.

Referenced by MayaFlux::Memory::SeqlockWriteGuard::~SeqlockWriteGuard(), and MayaFlux::Memory::SerializedSeqlockWriteGuard::~SerializedSeqlockWriteGuard().

+ Here is the caller graph for this function: