mars/task_queue.h File Reference

[host] MARS Task Queue Flag API More...


Functions

int mars_task_queue_create (struct mars_context *mars, struct mars_task_queue **queue, uint32_t size, uint32_t depth, uint8_t direction)
 [host] Creates a task queue.
int mars_task_queue_destroy (struct mars_task_queue *queue)
 [host] Destroys a task queue.
int mars_task_queue_count (struct mars_task_queue *queue, uint32_t *count)
 [host] Returns the number of data items in the task queue.
int mars_task_queue_clear (struct mars_task_queue *queue)
 [host] Clears the data 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.
int mars_task_queue_try_push (struct mars_task_queue *queue, const void *data)
 [host] Pushes the data specified into the task queue.
int mars_task_queue_pop (struct mars_task_queue *queue, void *data)
 [host] Pops data from a task queue.
int mars_task_queue_try_pop (struct mars_task_queue *queue, void *data)
 [host] Pops data from a task queue.
int mars_task_queue_peek (struct mars_task_queue *queue, void *data)
 [host] Pops data from a task queue without removing it.
int mars_task_queue_try_peek (struct mars_task_queue *queue, void *data)
 [host] Pops data from a task queue without removing it.


Detailed Description

[host] MARS Task Queue Flag API


Generated on Thu Oct 23 14:11:55 2008 for MARS by  doxygen 1.5.5