pdiag_dd_interrupt_notify
Purpose
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.
Syntax
#include <sys/pdiagex_dds.h>
int32 pdiag_dd_interrupt_notify( sleep_word )
uint32 sleep_word;
Description
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.
Execution Environment
The pdiag_dd_interrupt_notify() function can only be called from the interrupt environment.
Parameters
Parameter | Description |
---|---|
sleep_word | Semaphore handle that TU is waiting on, passed in as a parameter to the interrupt handler. |
Return Value
The pdiag_dd_interrupt_notify function returns one of the following values:
Return Value | Description |
---|---|
DGX_OK | The operation was successful. The errno is not set. |