|
HeMPS
8.0
|
This module implements function relative to task location structure. This module is used by the slave kernel The task location gives to the slave kernel, the location (slave process address) of the other task. More...

Functions | |
| void | init_task_location () |
| int | get_task_location (int task_ID) |
| void | add_task_location (int task_ID, int proc) |
| int | remove_task_location (int task_id) |
| void | clear_app_tasks_locations (int app_ID) |
Variables | |
| TaskLocaion | task_location [MAX_TASK_LOCATION] |
| array of TaskLocation | |
This module implements function relative to task location structure. This module is used by the slave kernel The task location gives to the slave kernel, the location (slave process address) of the other task.
HEMPS VERSION - 8.0 - support for RT applications
Distribution: June 2016
Created by: Marcelo Ruaro - contact: marcelo.ruaro@acad.pucrs.br
Research group: GAPH-PUCRS - contact: fernando.moraes@pucrs.br
| void add_task_location | ( | int | task_ID, |
| int | proc | ||
| ) |
Add a task_locaiton instance
| task_ID | Task ID |
| proc | Location (address) of the task |
| void clear_app_tasks_locations | ( | int | app_ID | ) |
Clear/remove all task of the same application
| app_ID | Application ID |
| int get_task_location | ( | int | task_ID | ) |
Searches for the location of a given task
| task_ID | The ID of the task |
| void init_task_location | ( | ) |
Initializes task_location array with invalid values
| int remove_task_location | ( | int | task_id | ) |
Remove a task_locaton instance
| task_id | Task ID of the instance to be removed |
1.8.11