Learnthat.com Free Certification and Computer Online Courses
ThatNetwork.com Internet Media Network Givethat.com free gift ideas Definethat.com - Free technical definitions, define Free Romance Tips, Romantic Tips, Date Ideas Free POD publisher comparison print on demand
Learnthat.com Free A+ Certification, Computer Classes, Certification Courses, Business, Lifestyle, ApplicationsFree business tutorials and definitionsFree certification tutorials and definitionsFree computer and technical tutorials and technical definitionsFree Finance Tutorials and DefinitionsFree House Repair TutorialsFree Lifestyle and Fun Tutorials
  LearnthatQuick TutorialsWord DefinitionsLinksAdd a DefinitionAll Definitions
÷ Resources
Home
free tech tutorials
Free Tutorials
free tech tutorials
Certifications
free tech tutorials
Definitions
free tech tutorials
Resources/Links
free tech tutorials
Forums
free tech tutorials
Distance Education
free tech tutorials
Highest Rated Tutorials
÷ Popular Tutorials
÷ New Tutorials

Free Definitions : Define interrupt handler. What is interrupt handler?

Free Definitions: Software: General

Recommended Books
Recommended Links

interrupt handler Definition

A routine which is executed when an {interrupt} occurs.  Interrupt handlers typically deal with low-level events in the hardware of a computer system such as a character arriving at a {serial port} or a tick of a {real-time clock}.  Special care is required when writing an interrupt handler to ensure that either the interrupt which triggered the handler's execution is masked out (inhibitted) until the handler exits, or the handler is {re-entrant} so that multiple concurrent invocations will not interfere with each other. If interrupts are masked then the handler must execute as quickly as possible so that important events are not missed. This is often arranged by splitting the processing associated with the event into "upper" and "lower" halves.  The lower part is the interrupt handler which masks out further interrupts as required, checks that the appropriate event has occurred (this may be necessary if several events share the same interrupt), services the interrupt, e.g. by reading a character from a {UART} and writing it to a {queue}, and re-enabling interrupts. The upper half executes as part of a user process.  It waits until the interrupt handler has run.  Normally the {operating system} is responsible for reactivating a process which is waiting for some low-level event.  It detects this by a shared {flag} or by inspecting a shared queue or by some other synchronisation mechanism.  It is important that the upper and lower halves do not interfere if an interrupt occurs during the execution of upper half code.  This is usually ensured by disabling interrupts during {critical sections} of code such as removing a character from a queue. (2002-07-24)

 

Definition Provided By Denis Howe

 

What is:      ALL DEFINITIONS      

    

 

 


Learn: Free Tutorials - Links to Free Tutorials
Understand: Free Technical Definitions - ExplainThat Whitepapers
Use: Certification Section - Discussion Forum

Visit Our Network Sites:

DefineThat.com Technical Defintions Romancetips.com
Free Gift Ideas - GiveThat Planthat.com Free Unique Business Ideas
PublishOnDemand.net - Learn about Print on Demand (POD) - Self Publishing Seekthat.com - Technical Search Engine
ThatNetwork.com  

About Us : Contact Us : Advertise : Privacy Information

© 1998-2004 Learnthat.com