
378 Embedded systems design
latency and context switch time must be added because the task A
sequence could be interrupted and replaced at any time by task C.
The extra context switch time must be included for when task C
completes and execution is switched back to task A.
Provided these times and the time needed to execute the
appropriate response to the interrupt fit between the time critical
windows, the system will respond correctly. If not then time must
be saved.
The diagram shows the mechanism that has been used so
far which relies on a message to be sent that will wake up a task.
It shows that this operation is at the end of a complex chain of ...