|
Functions |
| int | mars_task_queue_initialize (struct mars_context *mars, struct mars_task_queue *queue, void *buffer, uint32_t size, uint32_t depth, uint8_t direction) |
| | [host] Initializes a task queue.
|
| int | mars_task_queue_count (struct mars_task_queue *queue, uint32_t *count) |
| | [host] Returns the number of items in the task queue.
|
| int | mars_task_queue_clear (struct mars_task_queue *queue) |
| | [host] Clears the items in the task queue.
|
| int | mars_task_queue_push (struct mars_task_queue *queue, const void *data) |
| | [host] Pushes the data specified into the task queue. (Blocking)
|
| int | mars_task_queue_try_push (struct mars_task_queue *queue, const void *data) |
| | [host] Pushes the data specified into the task queue. (Non-Blocking)
|
| int | mars_task_queue_pop (struct mars_task_queue *queue, void *data) |
| | [host] Pops data from a task queue. (Blocking)
|
| int | mars_task_queue_try_pop (struct mars_task_queue *queue, void *data) |
| | [host] Pops data from a task queue. (Non-Blocking)
|
| int | mars_task_queue_peek (struct mars_task_queue *queue, void *data) |
| | [host] Pops data from a task queue without removing it. (Blocking)
|
| int | mars_task_queue_try_peek (struct mars_task_queue *queue, void *data) |
| | [host] Pops data from a task queue without removing it. (Non-Blocking)
|