![]() ![]() Interrupts can also tell the CPU that an error occurred, and this can cause a spike in the CPU usage of system interrupts. For example, when you start typing on your keyboard, the respective hardware and software send interrupts to the CPU to trigger the processing of your input. Interrupts are a form of communication of software and hardware with the CPU. When the interrupt handler task is completed, the processor resumes the state at which it was interrupted. The processor responds by suspending its current activities, saving its state, and executing a function called an interrupt handler to deal with the event. Wikipedia explains:Īn interrupt alerts the processor to a high-priority condition requiring the interruption of the current code the processor is executing. ![]() Interrupts can originate from software or hardware, including the processor itself. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |