TIOVX User Guide
|
Interface to Queue APIs. More...
Go to the source code of this file.
Data Structures | |
struct | tivx_queue |
Typedef for a queue. More... | |
Macros | |
#define | TIVX_QUEUE_FLAG_BLOCK_ON_PUT (0x00000001u) |
Flag to indicate queue should block 'put' operation until free space is available for 'put' to succeed. | |
#define | TIVX_QUEUE_FLAG_BLOCK_ON_GET (0x00000002u) |
Flag to indicate queue should block 'get' operation until new element is available in queue to extract. | |
Functions | |
vx_status | tivxQueueCreate (tivx_queue *queue, uint32_t max_elements, uintptr_t *queue_memory, uint32_t flags) |
Create a queue. More... | |
vx_status | tivxQueueDelete (tivx_queue *queue) |
Delete a queue. More... | |
vx_status | tivxQueuePut (tivx_queue *queue, uintptr_t data, uint32_t timeout) |
Add a element into the queue. More... | |
vx_status | tivxQueueGet (tivx_queue *queue, uintptr_t *data, uint32_t timeout) |
Extract a element from the queue. More... | |
vx_status | tivxQueuePeek (const tivx_queue *queue, uintptr_t *data) |
Peek an element from the queue but dont extract it. More... | |
vx_bool | tivxQueueIsEmpty (const tivx_queue *queue) |
Check if queue is empty. More... | |
Interface to Queue APIs.
Definition in file tivx_queue.h.