Functions | |
| int | mars_task_main (const struct mars_task_args *args) |
| [MPU] Entry point for task. | |
| void | mars_task_exit (void) |
| [MPU] Exits and terminates task. | |
| int | mars_task_yield (void) |
| [MPU] Yields caller task so other workloads can run. | |
| 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) | |
| uint32_t | mars_task_get_kernel_id (void) |
| [MPU] Gets id of kernel that task is currently being executed on. | |
| mars_task_id * | mars_task_get_id (void) |
| [MPU] Gets id of caller task. | |
| const char * | mars_task_get_name (void) |
| [MPU] Gets name of caller task. | |
1.5.2