spe_mssync_status

NAME

spe_mssync_status - Fetch the status of the multi-source synchronization.

SYNOPSIS

include <libspe2.h>

int spe_mssync_status (spe_context_ptr_t spe)

Parameters  
spe Specifies the SPE for which the MFC transfers are to be synchronized.

DESCRIPTION

Fetch the status of the previously requested multi-source synchronization. A synchronization request is initiated by calling spe_mssync_start.

RETURN VALUE

On success, 0 (zero) is returned.

A value of 0 indicates that all transfers targeting the SPE and received before the last spe_mssync_start() are complete.

A value of 1 indicates that all transfers targeting the SPE and received before the last spe_mssync_start() are not complete.

EXIT STATUS

On error, -1 is returned and errno is set to indicate the error.

Possible errors include:

ESRCH The specified SPE context is invalid.

SEE ALSO

spe_mssync_start(3)