Is multiprogramming possible without interrupts? code example
Example: Is multiprogramming possible without interrupts?
Without interrupts, it would be impossible to implement multiprogramming
or timesharing. A busy-wait would be required so one job couldn't run during
another job's I/O wait.
Without a timer interrupt, time slices can't be created to divide the CPU among
jobs. Interrupts themselves must be synchronized