Interrupt

From WikiMD's Wellness Encyclopedia

(Redirected from Interrupting)

Interrupt is a signal to a computer system or device to stop its current operation and handle a particular condition. In computing, an interrupt is an asynchronous signal from hardware indicating the need for attention or a synchronous event in software indicating the need for a change in execution.

Overview[edit | edit source]

An interrupt alerts the processor to a high-priority condition requiring the interruption of the current code the processor is executing. The processor responds by suspending its current activities, saving its state, and executing a function called an interrupt handler (or an interrupt service routine, ISR) to deal with the event. This interruption is temporary, and, after the interrupt handler finishes, the processor resumes normal activities.

Types of Interrupts[edit | edit source]

There are several different types of interrupts, including:

  • Hardware Interrupts are issued by hardware devices like disk drive and keyboard when they need to communicate with the CPU.
  • Software Interrupts are issued by a program requiring disk input or output operations.
  • Timer Interrupts are issued by a system timer. The system timer could be a dedicated timer on a chip or could be built into one of the system's peripheral chips.

Interrupt Handling[edit | edit source]

When an interrupt is generated, the processor saves its execution state via a context switch, and begins executing the interrupt handler at the interrupt vector.

See Also[edit | edit source]

References[edit | edit source]

Interrupt Resources
Wikipedia
WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD