Turning off Interrupts
The problem is that interrupts may occur while a data structure is inconsistent
Solution:
- Entry procedure = turn off interrupts
- Exit procedure = turn on interrupts
What happens to interrupts that occur during the critical section?
- maybe deferred, maybe dropped