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

◆ approx_size()

template<typename T >
size_t MayaFlux::Memory::SweepList< T >::approx_size ( ) const
inlinenoexcept

Approximate number of items currently held.

May be transiently stale under concurrent push()/sweep()/drain(). Use for diagnostics, not for synchronization decisions.

Definition at line 204 of file SweepList.hpp.

205 {
206 return m_count.load(std::memory_order_relaxed);
207 }
std::atomic< size_t > m_count

References MayaFlux::Memory::SweepList< T >::m_count.