Interrupts are signals which cause the CPU to suspend the currently executing program and transfer to a special program known as an interrupt handler. Interrupt handler determines the cause of interrupt, services the interrupt and lastly returns the control to point of interrupt. Interrupts are caused by events internal or external to the CPU which require immediate attention. A number of external events which cause interrupts are:
- Completion of an I/O process
- Detection of a hardware failure