-> An interrupt is a hardware-generated change-of-flow within the system. An interrupt handler is summoned to deal with the cause of the interrupt; control is then returned to the interrupted context and instruction. A trap is a software-generated interrupt. An interrupt can be used to signal the completion of an I/O to obviate the need for device polling. A trap can be used to call operating system routines or to catch arithmetic errors.
2. Difference of interrupt and trap and their use.
Posted by
^+jUstinN+^
Tuesday, June 23, 2009
Labels: OS 2
0 comments:
Post a Comment