on-internet
← Community

How does the computer handle interrupts?

Stack Overflow ·

What is the difference between an interrupt and a context switch? I understand the concept of an interrupt and how it occurs. Using MIPS as a reference model I was under the impression that when an interrupt occurs, the machine performs a context switch (saving all registers) onto the stack. Is this always the case? I read today that a full context switch doesn't always happen. Can someone explain this?

Comments

Sign in or sign up to comment and upvote.

No comments yet.