Creato da
Share My Page
My Social Accounts
Account FaceBook Account LinkedIn Account Twitter Account Google Plus Account Git Hub

At the hardware level is sent a signal to the CPU via the bus. At the software level are handled by special procedures sistuazionidedicated. Interrupts are not enabled until the code is not called them out. They are found in the memory allocated to kernel mode.

Interrupts guide the development and execution of the OS. In the time it arrives the particular interrupt signal, the CPU stops what he was doing and transfers its execution to the location specifieddall'interrupt. It then performs a routine service.
The set of routines are run in the interrupt vector table, whichcontains all the source addresses of interrupt procedures. At the moment when the routine is terminated, the CPU returns toperform what he was doing.

Management interurpt I / O
If a process wants to perform an I / O request is sent to the kernel. The kernel evaluates the request and is usually accepted.The process is put on hold the completion of the I / O and another process running. In the moment in which terminates the operation of the I / O returns to the first process to be executed or immediately or after the end of the second process.

Interrupts / exceptions
Exceptions are events internal to the processor. They are causedsynchronously by the program running, you can call such a system call, or can perform an operation not allowed (traps). Theitnerrupt instead are caused by external events and are asynchronous, so do not depend on the program. If a program is executed millions of times during each run you will have the same interrupt, but several exceptions.

Average (1 Vote)
The average rating is 5.0 stars out of 5.