Bookmark the Dictionary of Words Online

interrupt handler definition from the Dictionary of Words

Home Contact us New words
Web Images MP3/Audio Video Directory News
Help
Terms of Service
RESULTS IN:    English Spanish

Found 1 hit - Term: interrupt handler, Database: *, Strategy: prefix
[1] : The Free On-line Dictionary of Computing (27 SEP 03)
interrupt handler
     
         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
     
     
see also:
interrupt serial port real-time clock re-entrant uart queue 
operating system flag critical sections 

Results 1 - 2 of 2 found about interrupt handler:

Interrupt >> I Words
Interrupt, definition of term: Interrupt
interrupt_pag1.html

Handler >> H Words
Handler, definition of term: Handler
handler_pag1.html


Last accessed:2008/10/12 09:44:08 [Total processing time: 0 seconds]
Myspace Layouts for Girls My Space
Middle East Business España México Puerto Rico Costa Rica Argentina Directorio
Dictionary online database provided by dict.org