FastLED 3.9.15
Loading...
Searching...
No Matches

◆ size()

template<fl::size DescriptorCount, fl::size ArenaSize>
fl::size fl::AsyncLogQueue< DescriptorCount, ArenaSize >::size ( ) const

Get current number of messages in queue.

Definition at line 101 of file async_log_queue.cpp.hpp.

101 {
104 return (head - tail) & (DescriptorCount - 1);
105}
volatile fl::u32 mTail
Consumer read position (descriptor ring)
High-performance SPSC async log queue.

References loadHead(), and mTail.

Referenced by capacity().

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