Storage for a static message queue. More...
#include <cmsis-plus/rtos/os.h>
Public Attributes | |
T | links [((2 *msgs) *sizeof(index_t)+sizeof(T) - 1)/sizeof(T)] |
T | prios [(msgs *sizeof(priority_t)+sizeof(T) - 1)/sizeof(T)] |
T | queue [(msgs *msg_size_bytes+sizeof(T) - 1)/sizeof(T)] |
Storage for a static message queue.
Each message is stored in an element extended to a multiple of pointers. The lists are kept in two arrays of indices and the priorities are kept in a separate array.
Definition at line 235 of file os-mqueue.h.
T os::rtos::message_queue::arena< T, msgs, msg_size_bytes >::links[((2 *msgs) *sizeof(index_t)+sizeof(T) - 1)/sizeof(T)] |
Definition at line 239 of file os-mqueue.h.
T os::rtos::message_queue::arena< T, msgs, msg_size_bytes >::prios[(msgs *sizeof(priority_t)+sizeof(T) - 1)/sizeof(T)] |
Definition at line 240 of file os-mqueue.h.
T os::rtos::message_queue::arena< T, msgs, msg_size_bytes >::queue[(msgs *msg_size_bytes+sizeof(T) - 1)/sizeof(T)] |
Definition at line 238 of file os-mqueue.h.