what happens if...

This is a discussion on what happens if... within the A Brief History of Cprogramming.com forums, part of the Community Boards category; An interrupt calls something but then while it is still in that routine it happens again? Im guessing something bad ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    46

    what happens if...

    An interrupt calls something but then while it is still in that routine it happens again? Im guessing something bad happens to the stack and/or the system runs out of memory and dies.
    mooooo@cooowwww.com

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Well if I understand the situation properly, you're just going to end up in an endless loop. This will either just act like an endless lop would, or some systems will pick up the problem and do something else that would depend on the system.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21