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, const struct mars_task_context_save_unit *save_units)
 [host] Creates a MARS task.
int mars_task_destroy (struct mars_task_id *id)
 [host] Destroys a MARS task.
int mars_task_schedule (struct mars_task_id *id, struct mars_task_args *args, uint8_t priority)
 [host/MPU] Schedules a MARS task for execution.
int mars_task_wait (struct mars_task_id *id, int32_t *exit_code)
 [host/MPU] Waits for task completion. (Task Switch Call)
int mars_task_try_wait (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 Fri Dec 19 21:36:43 2008 for MARS by  doxygen 1.5.6