Welcome to Forum Vancouver, an online discussion community for Metro Vancouver Hide
We have message boards for you to chat about shopping, community events, places to eat, things to do and much more!
Consider helping our forum grow by sharing your knowledge about living in the Greater Vancouver area.

is free and only takes a few moments to complete.

How do you handle interrupts in the appropriate context?

Discussion in 'Questions and Feedback' started by joeclark, Jul 31, 2017.

  1. joeclark

    joeclark Junior Member

    Hello,It occurred to me that interrupt handling has to be process dependent.That is, the same interrupt fired when process 1 is running may be handled differently than when process 2 is running.
    This is most evident in browser processes with Javascript attached mouse interrupt handlers.So, my question is how does the computer know how to handle an interrupt given the process context?
    When the OS loads a new process context, does it repopulate the entire IDT?Or does the IDT remain unchanged and the handlers for all interrupts entail a process context checker?
    The OS keeps some kind of process context data structures.
    Is that where all the process specific interrupt handlers are stored?
    Thanks..

    I didn't find the right solution from the internet.

    References:

    - https://www.computerforum.com/threa...interrupts-in-the-appropriate-context.241619/

    - Brand Reveal Video Examples
     

Share This Page