|
Zephyr Project API 4.5.0-rc2
A Scalable Open Source RTOS
|
Queue element structure. More...
#include <mpipe_queue.h>
Data Fields | |
| struct mpipe_transform | transform |
| Base transform element. | |
| struct mpipe_thread | thread |
| Dedicated thread for downstream processing. | |
| struct k_msgq | msgq |
| Queue of buffer pointers. | |
| char | msgq_buffer [(CONFIG_MPIPE_BASE_QUEUE_MAX_SIZE+2) *sizeof(void *)] |
| Backing storage for the message queue, sized for the largest queue plus the EOS and pause sentinels. | |
| uint8_t | size |
| Number of buffers the queue can hold, bounded by. | |
| uint8_t | leak |
| Leak policy of a full queue, an mpipe_base_queue_leak. | |
| atomic_t | flushing |
| Set on PAUSED -> READY: the processing function drops buffers instead of enqueuing them, which releases a producer blocked in k_msgq_put(). | |
Queue element structure.
| atomic_t mpipe_queue::flushing |
Set on PAUSED -> READY: the processing function drops buffers instead of enqueuing them, which releases a producer blocked in k_msgq_put().
| uint8_t mpipe_queue::leak |
Leak policy of a full queue, an mpipe_base_queue_leak.
| struct k_msgq mpipe_queue::msgq |
| char mpipe_queue::msgq_buffer[(CONFIG_MPIPE_BASE_QUEUE_MAX_SIZE+2) *sizeof(void *)] |
Backing storage for the message queue, sized for the largest queue plus the EOS and pause sentinels.
| uint8_t mpipe_queue::size |
Number of buffers the queue can hold, bounded by.
CONFIG_MPIPE_BASE_QUEUE_MAX_SIZE
and applied on READY -> PAUSED
| struct mpipe_thread mpipe_queue::thread |
Dedicated thread for downstream processing.
| struct mpipe_transform mpipe_queue::transform |
Base transform element.