spe_mssync_status - Fetch the status of the multi-source synchronization.
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. |
Fetch the status of the previously requested multi-source synchronization. A synchronization request is initiated by calling spe_mssync_start.
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.
On error, -1 is returned and errno is set to indicate the error.
Possible errors include:
ESRCH | The specified SPE context is invalid. |