Struct multififo_params
Defined in File multififo.h
Struct Documentation
-
struct multififo_params
Parameters for multififo.
Public Members
-
dptr_t *elements
Pointer to application-allocated space for storing data managed by the multififo. Ignored unless RCSW_NOALLOC_DATA is passed.
-
dptr_t *meta
Pointer to application-allocated space for storing child shadow FIFOs. Ignored unless RCSW_NOALLOC_META is passed.
-
size_t elt_size
Size of the “base” elements (i.e., the elements in the main FIFO) in bytes.
-
size_t max_elts
Maximum number of elements allowed.
-
size_t n_children
The # of child shadow FIFOs. Should be > 0; if it is 0, why are you using a multi-FIFO?
-
size_t *children
Configuration for child shadow FIFOs. Currently only the element size is needed; if this changes, either fifo_params or another parameter struct will be used instead.
-
uint32_t flags
Configuration flags. See multififo::flags for valid flags.
-
dptr_t *elements