3 ms·
It is fundamentally how processors work. That is how context switching happens IO happens etc. I mean if you are at work and you need to go the doctor the schoo
by samfisher83 8y ago
It is fundamentally how processors work. That is how context switching happens IO happens etc. I mean if you are at work and you need to go the doctor the school will call you to interrupt you. If someone didn't what would happen to your kid?
- marcosdumay 8y agoIO can happen by message queue that thee OS looks at from time to time, context switching can be initiated by a lot of algorithms that don't need to invalidate your pipeline state, and OS calls can be entirely synchronous. Interruptions are mostly a bad legacy from the time our computers were slow, kept around for compatibility reasons.
- trhway 8y ago>OS looks at from time to time How is that to be implemented if not by timer interrupt?
- marcosdumay 8y agoA core that is otherwise sleeping, an instruction countdown, a synchronous microinstruction that does some "finish this and jump if the list is non-empty" triggered by a timer... There is a lot of stuff implied by an interruption. Computers need some of them for some functions, but never the entire lot.