wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Interrupts

profile
Sumit Alu
Jul 12, 2023
1 Like
0 Discussions
157 Reads

What is Interrupt in OS?

An interrupt is a signal emitted by hardware or software when a process or an event needs immediate attention. It alerts the processor to a high-priority process requiring interruption of the current working process. In I/O devices, one of the bus control lines is dedicated for this purpose and is called the Interrupt Service Routine (ISR).

When a device raises an interrupt at the process, the processor first completes the execution of an instruction. Then it loads the Program Counter (PC) with the address of the first instruction of the ISR. Before loading the program counter with the address, the address of the interrupted instruction is moved to a temporary location. Therefore, after handling the interrupt, the processor can continue with the process.

While the processor is handling the interrupts, it must inform the device that its request has been recognized to stop sending the interrupt request signal. Also, saving the registers so that the interrupted process can be restored in the future increases the delay between the time an interrupt is received and the start of the execution of the ISR. This is called Interrupt Latency.

 A single computer can perform only one computer instruction at a time. But, because it can be interrupted, it can manage how programs or sets of instructions will be performed. This is known as multitasking. It allows the user to do many different things simultaneously, and the computer turns to manage the programs that the user starts. Of course, the computer operates at speeds that make it seem like all user tasks are being performed simultaneously.

An operating system usually has some code that is called an interrupt handler. The interrupt handler prioritizes the interrupts and saves them in a queue if more than one is waiting to be handled. The operating system has another little program called a scheduler that figures out which program to control next.


Comments ()


Sign in

Read Next

Electronic Evidence in Cyber Forensics

Blog banner

My favourite food

Blog banner

Exploring the Power of Encase Forensic Tools: Unraveling Digital Mysteries

Blog banner

RAID

Blog banner

MUTUAL EXCLUSION

Blog banner

Multiprocessor and Multicore Organization

Blog banner

How Do I Get Rid of My People-Pleasing Behaviour?

Blog banner

Cyber Security in Data Breaching

Blog banner

Photography

Blog banner

Multiprocessor

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Everything You Need for a Perfect Stay in Arcadia, Florida, USA.

Blog banner

Never give up

Blog banner

EFT

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Busted : Common Web Security Myths

Blog banner

OS Assignment 1

Blog banner

A Journey By Train

Blog banner

Evolution of Operating system

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

Danger assessment in GIS

Blog banner

(Input/Output) in os

Blog banner

Data Security must be your Priority!

Blog banner

Theads

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

Hacking

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Cache Memory

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

How to insert contacts in zoho crm using php

Blog banner

security requirements for safe e-payment

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

Introduction my self

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Operating System

Blog banner

Every body is beautiful

Blog banner

Security in Operating Systems

Blog banner

File management

Blog banner

Game Theory in Blockchain

Blog banner

Traveling

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner