Interrupt
Also: hardware interrupt
A mechanism that temporarily redirects processor execution when an event needs service.
Interrupt priority, masking, latency, nesting, shared data, and service duration affect real-time behavior.
Example A timer interrupt marks a sample due while the main loop performs longer processing.
Common misconception Interrupts do not make code simultaneous or automatically safe from races.