Are interrupts needed for a computer system to work? Could you have a computer system (hardware and software, including the OS) that worked without an interrupt mechanism?

  • 4
    $\begingroup$ Short answer: no, interrupts aren't needed for a computer system to "work." But I suspect that you really meant to ask something more specific. $\endgroup$ – Wandering Logic Sep 8 '14 at 2:42
  • 1
    $\begingroup$ Clearly, there have been plenty of computer systems in the early days which didn't have interrupts, or didn't have interrupts as we know them today. $\endgroup$ – Pseudonym Sep 8 '14 at 3:15

No, they're not needed for a computer to work. For instance, you can use polling to interact with devices, instead of interrupts, and you can use cooperative multitasking for scheduling multiple processes, rather than preemptive multitasking.

(Thank you, @Paul A. Clayton!)

| cite | improve this answer | |
  • 1
    $\begingroup$ And cooperative multitasking rather than preemptive multitasking. $\endgroup$ – Paul A. Clayton Sep 8 '14 at 12:00
  • $\begingroup$ @PaulA.Clayton, great example, thank you, I've edited my answer accordingly. $\endgroup$ – D.W. Sep 8 '14 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.