First page Back Continue Last page Graphics
Shared-Data Problem
Interrupts cause a problem because they share data with the non-interrupt (task) code.
This results in problems similar to those found in concurrent code.
- void interrupt vReadTemperatures(void)
{
iTemperatures[0] = // read temp1 data
iTemperatures[1] = // read temp2 data
}