What is an interrupt? Give an example of an interrupt triggered inside the process and one triggered outside of the process
What is an interrupt? Give an example of an interrupt triggered inside the process and one triggered outside of the process (internal & external interrupt)
Interrupt- An Interrupt is a signal which is transmitted to the processor from software or hardware showing an event needs to be handled Most of the computer are Interrupt driven, i.e., it starts a list of computer instruction in one program and keeps on running until they can't move any further or an Interrupt is sensed. If an Interrupt is sensed, the computer can either stop the current program and start running another program or simply resume running the current program.
Basically, a computer can perform only one instruction at a time. But, because of the interrupts, the program or set of instructions can take turns to perform. Thus, making multitasking possible. Interrupts allow users to work on more than programs at a time.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps