kanda samy
12/10/2009 1:18 AM
post43476
|
I had doubt regarding the interrupt handler..
My board(device) had two channels and the irq line is allocated for the board. In driver, I had attach the proxy for
each channel using qnx_proxy_attach() and the same ISR is registered for both the channels using qnx_hint_attach(). The
proxy is returned to application based on the interrupt of the respective channel.
I used two process in my application using fork() and wait for interrupt using Creceive().
Let me know whether the ISR is registered twice?
because, What is the problem is when the interrupt occurs the handler attached last is handle most of the interrupt.
But when i run it as seperate application in different consoles( channel 1 - transmitter, channel 2 - receiver) , both
the ISR got invoked. what is the difference if the application is are run in different console?
Regards,
K.Kandasamy.
|
|
|