|
API Reference Manual 1.51.0
|
Queue capabilities. More...
#include <queue_types.h>
Data Fields | ||
| uint32_t | max_queues | |
| Maximum number of event queues of any type (default size). | ||
| struct { | ||
| uint32_t max_num | ||
| Maximum number of plain (ODP_BLOCKING) queues of the default size. More... | ||
| uint32_t max_size | ||
| Maximum number of events a plain (ODP_BLOCKING) queue can store simultaneously. More... | ||
| odp_queue_stats_opt_t stats | ||
| Supported statistics counters. More... | ||
| struct { | ||
| uint32_t max_num | ||
| Maximum number of queues. More... | ||
| uint32_t max_size | ||
| Maximum queue size. More... | ||
| odp_queue_stats_opt_t stats | ||
| Supported statistics counters. More... | ||
| } lockfree | ||
| Lock-free (ODP_NONBLOCKING_LF) implementation capabilities. More... | ||
| struct { | ||
| uint32_t max_num | ||
| Maximum number of queues. More... | ||
| uint32_t max_size | ||
| Maximum queue size. More... | ||
| odp_queue_stats_opt_t stats | ||
| Supported statistics counters. More... | ||
| } waitfree | ||
| Wait-free (ODP_NONBLOCKING_WF) implementation capabilities. More... | ||
| odp_event_aggr_capability_t aggr | ||
| Event vector generation capabilities. More... | ||
| } | plain | |
| Plain queue capabilities. | ||
Queue capabilities.
Definition at line 184 of file api/spec/queue_types.h.
| uint32_t odp_queue_capability_t::max_queues |
Maximum number of event queues of any type (default size).
Use this in addition to queue type specific 'max_num', if both queue types are used simultaneously.
Definition at line 188 of file api/spec/queue_types.h.
| uint32_t odp_queue_capability_t::max_num |
Maximum number of plain (ODP_BLOCKING) queues of the default size.
Maximum number of queues.
Lock-free queues are not supported when zero.
Wait-free queues are not supported when zero.
Definition at line 194 of file api/spec/queue_types.h.
| uint32_t odp_queue_capability_t::max_size |
Maximum number of events a plain (ODP_BLOCKING) queue can store simultaneously.
Maximum queue size.
The value of zero means that plain queues do not have a size limit, but a single queue can store all available events.
The value of zero means that there is no size limit.
Definition at line 200 of file api/spec/queue_types.h.
| odp_queue_stats_opt_t odp_queue_capability_t::stats |
Supported statistics counters.
Definition at line 203 of file api/spec/queue_types.h.
| struct { ... } odp_queue_capability_t::lockfree |
Lock-free (ODP_NONBLOCKING_LF) implementation capabilities.
The specification is the same as for the blocking implementation.
| struct { ... } odp_queue_capability_t::waitfree |
Wait-free (ODP_NONBLOCKING_WF) implementation capabilities.
The specification is the same as for the blocking implementation.
| odp_event_aggr_capability_t odp_queue_capability_t::aggr |
Event vector generation capabilities.
Definition at line 240 of file api/spec/queue_types.h.