Interrupt
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
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
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
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
- Interrupt Request (IRQ)
- Interrupt Handler
- Interrupt Vector
- Interrupt Request Level (IRQL)
- Interrupt Descriptor Table (IDT)
References
<references />
Ad. Transform your life with W8MD's
GLP-1 weight loss injections special from $29.99 with insurance
|
WikiMD Medical Encyclopedia |
Medical Disclaimer: WikiMD is for informational purposes only and is not a substitute for professional medical advice. Content may be inaccurate or outdated and should not be used for diagnosis or treatment. Always consult your healthcare provider for medical decisions. Verify information with trusted sources such as CDC.gov and NIH.gov. By using this site, you agree that WikiMD is not liable for any outcomes related to its content. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian


