Quote:
|
Originally Posted by SeanCassidy
Was I meandering in my meaning? I apologize, sometimes I do that.
My question is purely that if a function is executed, does everything else stop while that is exected?
|
Yes, only one thing can be happening at a time. When an interrupt occurs, whatever is currently happening stops, and the data being used gets set aside (onto the stack actually) Then the interrupt handler runs, and handles the interrupt (obviously). Then whatever code was running before resumes where it left off, without any real knowledge of the interruption.
Let me know if this doesn't answer you question.