mars/task.h File Reference

[MPU] MARS Task API More...


Functions

int mars_task_main (const struct mars_task_args *args)
 [MPU] Entry point for task.
void mars_task_exit (int32_t exit_code)
 [MPU] Exits and terminates task.
int mars_task_yield (void)
 [MPU] Yields caller task so other workloads can run. (Task Switch Call)
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_kernel_id (void)
 [MPU] Gets id of kernel that the task is being executed on.
struct mars_task_idmars_task_get_id (void)
 [MPU] Gets id of caller task.
const char * mars_task_get_name (void)
 [MPU] Gets name of caller task.


Detailed Description

[MPU] MARS Task API


Generated on Tue Nov 11 11:44:00 2008 for MARS by  doxygen 1.5.6