First page Back Continue Last page Graphics
Solution
Disable interrupts before accessing shared data
Reenable interrupts afterwords
Compilers cannot reliably determine when such action is necessary.
- Up to the programmer to thoroughly understand code and disable/reenable interrupts when appropriate.