I work in the automotive embedded C programming domain and someone asked me what's the OS tasks system of my project (AUTOSAR). I am working in static analysis using Astree tool chain. I didn't have to create OS configuration for my project as it's generated by the other teams. So what is tasks in our embedded system? And how it work with thousands of C and H files in large Software? Is it referring to how we build the project? For example:
void task_OS_10ms_Task(void) {
Rte_task_Cont_BswStart_10ms();
FiM_MainFunction();
DDRC_Proc_ArDebMainFunction_10ms();
DFES_Proc_Data();
ComCIL_Adapt_Proc_10ms();
ComCIL_Co_Proc();
}
void task_OS_1ms_Task(void) {
Rte_task_Cont_BswStart_1ms();
Rte_task_Cont_BswEnd_1ms();
} // End of OS_1ms_Task
With above example, its mean 6 functions will be executed in total 10 ms or each one in 10 ms (total 60 ms)?