Registering two handler for one intrrupt
hi all,
I am using C language and wanted to know whether it is possible to register two different handlers for the same intrrupt. If yes, than what we will be the system behavior. Thanks |
Can I ask you why you need 2 handlers for same interrupt?
|
hi,
Actually we are trying to port 'Udhcpc' to our embedded linux application. But in source code of Udhcp, we've found that it has registered some interrupts with its handlers, which was already been registered by our application. Thus i had doubt about such scenerios. |
I don't think it's possible. Just add you code to existent handler.
|
Are you speaking here of hardware interrupts or signals?
|
The first-level interrupt handler can launch more than one second-level response to it, depending on the situation and architecture. Most commonly the second level response is a chain of subroutine-calls.
|
All times are GMT -5. The time now is 05:48 PM. |