FastLED 3.10.8
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 102 of file async_log_queue.cpp.hpp.

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

References fl::FL_NO_EXCEPT, loadHead(), and mTail.

Referenced by capacity().

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