ZXFoundation™ 26h2
Loading...
Searching...
No Matches
zxfoundation::sync::seqlock< T > Class Template Referenceexport

Public Member Functions

auto operator= (const seqlock &)=delete
auto operator= (seqlock &&)=delete
auto read () const noexcept -> T
 Read the current value. Lock-free; retries on torn read.
 seqlock (const seqlock &)=delete
constexpr seqlock (const T &initial) noexcept
 seqlock (seqlock &&)=delete
auto sequence () const noexcept -> u64
 Return the sequence counter (diagnostic).
auto write (const T &val) noexcept -> void
 Write a new value.

The documentation for this class was generated from the following file:
  • zxfoundation/sync/seqlock.cxxm