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.


Detailed Description

[host] MARS Task API


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