mars/task.h File Reference

[host] MARS Task API More...


Functions

int mars_task_create (struct mars_context *mars, struct mars_task_id *id, const char *name, const void *elf_image, uint32_t context_save_size)
 [host] Creates a MARS task.
int mars_task_destroy (struct mars_task_id *id)
 [host] Destroys a MARS task.
int mars_task_schedule (const struct mars_task_id *id, const struct mars_task_args *args, uint8_t priority)
 [host/MPU] Schedules a MARS task for execution.
int mars_task_unschedule (const struct mars_task_id *id, int32_t exit_code)
 [host/MPU] Unschedules a MARS task from being executed.
int mars_task_wait (const struct mars_task_id *id, int32_t *exit_code)
 [host/MPU] Waits for task completion. (Task Switch Call)
int mars_task_try_wait (const struct mars_task_id *id, int32_t *exit_code)
 [host/MPU] Waits for a task completion.
uint32_t mars_task_get_ticks (void)
 [host/MPU] Gets tick counter value.


Detailed Description

[host] MARS Task API


Generated on Wed Jan 13 04:46:21 2010 for MARS by  doxygen 1.5.7.1