Expand description
Type-safe FIFO queue for oveRTOS.
Queue<T, N> is a fixed-capacity, thread-safe FIFO that transfers items of
type T (which must be Copy) between threads or between ISR and thread
contexts. N is the maximum number of items the queue can hold.
Structsยง
- Queue
- Type-safe FIFO queue with compile-time capacity.
- Queue
Storage - Caller-owned storage + item buffer for a
Queuein zero-heap mode. Declare in astaticand pass&STORAGEtoQueue::create; in heap mode it is ignored. Seecrate::MutexStoragefor the pattern; this one additionally embeds the[T; N]item buffer the queue needs.