Signals vs. IOCTL: Notify interrupts to user space
by zvivered from LinuxQuestions.org on (#5R7H2)
Hello,
My hardware is creating an interrupt handled by a kernel driver.
In order to notify the application there are 2 ways (that I know about):
1. Send a signal from driver to user space
2. User space can send IOCTL answered upon interrupt.
Can you please tell if one method is better than the other ?
What method is more popular ?
Thank you,
Zvika
My hardware is creating an interrupt handled by a kernel driver.
In order to notify the application there are 2 ways (that I know about):
1. Send a signal from driver to user space
2. User space can send IOCTL answered upon interrupt.
Can you please tell if one method is better than the other ?
What method is more popular ?
Thank you,
Zvika