ADM-XRC SDK 2.8.1 User Guide (Linux)
© Copyright 2001-2009 Alpha Data


ADMXRC2_CancelWaitForInterrupt

Prototype

ADMXRC2_STATUS
ADMXRC2_CancelWaitForInterrupt(
    ADMXRC2_HANDLE Card);

Arguments

Argument Type Purpose
Card In Handle of card on which to wait for an interrupt

Return value

Value Meaning
ADMXRC2_SUCCESS Success.
ADMXRC2_INVALID_HANDLE The card handle passed was invalid

Description

If this function is called when a thread is waiting for an FPGA interrupt, as a result of calling ADMXRC2_WaitForInterrupt, the wait is cancelled. The previously waiting thread receives a status of ADMXRC2_CANCELLED from its call to ADMXRC2_WaitForInterrupt.

If this function is called when no thread is waiting for an FPGA interrupt, no action is taken.

 


 Top of page