Avoid the invocation of default handler

Mar 16, 2008 1 Replies

Hi, I understand that if an interrupt occurs , (Reference ->



formatting link
) the corresponding handler is called. But , if a second interrupt occurs before the first interrupt handler is able to reset the interrupt handler in its corresponding handler, the default handler will be called. So, how to handle this scenario and avoid the invocation of default handler ?



Thx in advans, Karthik Balaguru


Are you talking about (hardware-) interrupts or (OS generated) signals ?

Both trigger "handlers" (mostly called ISR with interrupts). But the C-code of an interrupt handler in Linux also is called by the OS as a consequence of a hardware interrupt.

-Michael

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required