mars/task_queue.h File Reference

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


Functions

int mars_task_queue_create (struct mars_context *mars, uint64_t *queue_ea, uint32_t size, uint32_t depth, uint8_t direction)
 [host] Creates a task queue.
int mars_task_queue_destroy (uint64_t queue_ea)
 [host] Destroys a task queue.
int mars_task_queue_count (uint64_t queue_ea, uint32_t *count)
 [host/MPU] Returns the number of data items in the task queue.
int mars_task_queue_clear (uint64_t queue_ea)
 [host/MPU] Clears the data items in the task queue.
int mars_task_queue_push (uint64_t queue_ea, const void *data)
 [host/MPU] Pushes the data specified into the task queue. (Task Switch Call)
int mars_task_queue_try_push (uint64_t queue_ea, const void *data)
 [host/MPU] Pushes the data specified into the task queue.
int mars_task_queue_pop (uint64_t queue_ea, void *data)
 [host/MPU] Pops data from a task queue. (Task Switch Call)
int mars_task_queue_try_pop (uint64_t queue_ea, void *data)
 [host/MPU] Pops data from a task queue.
int mars_task_queue_peek (uint64_t queue_ea, void *data)
 [host/MPU] Pops data from a task queue without removing it. (Task Switch Call)
int mars_task_queue_try_peek (uint64_t queue_ea, void *data)
 [host/MPU] Pops data from a task queue without removing it.


Detailed Description

[host] MARS Task Queue Flag API


Generated on Wed Jul 29 18:01:04 2009 for MARS by  doxygen 1.5.7.1