The pdiag_dd_interrupt_notify() function can only be used by the interrupt handling function of the TU library. This function notifies a pending pdiag_dd_watch_for_interrupt call that an interrupt has been processed.
#include <sys/pdiagex_dds.h> int32 pdiag_dd_interrupt_notify( sleep_word ) uint32 sleep_word;
pdiag_dd_interrupt_notify() is used to notify a previously pending call to pdiag_dd_watch_for_interrupt that an expected interrupt has been received and processed. This call is only used by the second-level interrupt-handler code provided in the TU library.
The pdiag_dd_interrupt_notify() function can only be called from the interrupt environment.
sleep_word | Semaphore handle that TU is waiting on, passed in as a parameter to the interrupt handler. |
The pdiag_dd_interrupt_notify function returns one of the following values:
DGX_OK | The operation was successful. The errno is not set. |