Avoid the invocation of default handler

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hi,
I understand that if an interrupt occurs , (Reference ->
http://www.ecst.csuchico.edu/~beej/guide/ipc/signals.html ) 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

Re: Avoid the invocation of default handler
Quoted text here. Click to load it

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

Site Timeline