Handling interrupts
QNX SDP8.0Writing a Resource ManagerDeveloper
Resource managers that manage an actual hardware resource will likely need to handle interrupts generated by the hardware. For a detailed discussion on strategies for handling interrupts, see the chapter on Handling Hardware Interrupts in the QNX OS Programmer's Guide.
There are two main strategies a resource manager might use for handling hardware interrupts.
The resource manager can either inform a resource manager thread via a pulse (discussed in the
Handling private messages and pulses
section of the Handling Other Messages chapter),
or use a dedicated interrupt handling thread with the SIGEV_INTR notification type or
an InterruptAttachThread() call.
Let's look at the SIGEV_INTR case in more detail.
Page updated:
