Ask a Question    Search Answers  

Category
Computers >> Programming Concepts

Question
What is a software interrupt handler?  (1 answers) Expired Posted by: Deepa   Ask a Friend

Answers
1.

 It is code which is executed when an interrupt occurs.

Interrupts can range from you typing ctrl-c, to the tick of your computer's clock, to reaching the end of a file, to opening a port, to the click of a mouse, etc, etc. Any interrupt sends a signal that gets the attention of the CPU. Hardware interrupts are generated when a key is pressed or when the mouse is moved. Software interrupts are generated by a program requiring disk input or output.

Interrupt handlers are written and registered with your computer so that it knows to execute them upon specific interrupts. They require special care when writing them. If you were to have an error in an interrupt handler that fired off its own interrupt, you would crash your computer. Usually when writing an interrupt handler, disable that interrupt until the handler code is done.
    Answered by: richa


    Add a New Question
    Notify updates to this question
    Mail to a Friend
Rate this answer:       Exact       Correct       somewhat correct       wrong       spam

User comments


  Which are not there in COM (MTS) ?
  Can we copy a COM dll to GAC folder?
  Disadvantages of COM components? ?
  What is the main advantage of creating links to a file instead of copies of the file?
  What is the most graceful way to get to run level single user mode?
  What are the differences between require and include, include_once? ?
  Specify the areas in which the organizational assignments are made in PA? ?
  How will you develop a table control having 3 columns with only one editable?
  Explain the basics and defination of BADI ?
  How can you do ErrorMapping in Action class?
  What are the different Lookup methods used in Informatica?
  How can you create or import flat file definition in to the warehouse designer? ?
  What is the difference between URL encoding, URL rewriting, HTML escaping, and entity encoding? ?
  Does RMI-IIOP support dynamic downloading of classes?
Add New Question
Glossary
Ajax
Add Glossary
 
Copyright © 2009-10 Krify Software Technologies Pvt Ltd. All rights reserved.