dacs_wait

NAME

dacs_wait - Wait for communication operations to finish on this DE so the parameters can be changed or reused.

SYNOPSIS

DACS_ERR_T dacs_wait ( dacs_wid_t wid )

Call parameter  
wid A communication wait identifier

DESCRIPTION

The dacs_wait service blocks the caller, waiting for outstanding data transfers for the given wait identifier to complete. It returns when all outstanding transfers are finished. If one or more of the transfers fails, the first failure encountered is reported.

RETURN VALUE

The dacs_wait service returns an error indicator defined as:
  • DACS_WID_READY: all data transfers have completed.
  • DACS_ERR_WID_NOT_ACTIVE: there are no outstanding transfers to test.
  • DACS_ERR_INVALID_WID: the specified wait identifier is invalid.
  • DACS_ERR_BYTESWAP_MISMATCH: the Little-endian / Big-endian architectures at the ends of the transfer are incompatible.
  • DACS_ERR_BUF_OVERFLOW: the data to be transferred is too large for the receive buffer.

SEE ALSO

dacs_test(3), dacs_put(3), dacs_get(3), dacs_put_list(3), dacs_get_list(3)