Data Structures | |
struct | mars_task_params |
MARS task params structure. More... | |
Functions | |
int | mars_task_initialize (struct mars_context *mars, struct mars_task_id *id, struct mars_task_params *params) |
[host] Initializes a MARS task. | |
int | mars_task_finalize (struct mars_task_id *id) |
[host] Finalizes a MARS task. | |
int | mars_task_schedule (struct mars_task_id *id, struct mars_task_args *args, uint8_t priority) |
[host] Schedules a MARS task for execution. | |
int | mars_task_wait (struct mars_task_id *id) |
[host] Waits for task completion. (Blocking) | |
int | mars_task_try_wait (struct mars_task_id *id) |
[host] Waits for a task completion. (Non-Blocking) |