Use this subroutine to wait for the specified event flag to be set. Return is made with COR_SUCCESS when the flag is set. If the wait fails, return is made with COR_FAILURE.
Syntax
COR_I4 cor_event_waitfr(event_flag, ret_stat)
unsigned int event_flag;
COR_STATUS *ret_stat;
Input Arguments
event_flag |
The event flag to be tested. |
Output Arguments
retstat |
Pointer to status structure. |
Return Value
Either COR_SUCCESS or COR_FAILURE.
If COR_FAILURE is returned, an error code is reported in retstat.err_code.
Point Management API general subroutines. |