spe_out_intr_mbox_status - Fetch the status of the SPU outbound interrupt mailbox.
#include <libspe2.h>
int spe_out_intr_mbox_status (spe_context_ptr_t spe)
Parameters | |
spe | Specifies the SPE context for which the SPU outbound mailbox has to be read. |
The spe_out_intr_mbox_status function fetches the status of the SPU outbound interrupt mailbox for the SPE context specified by the spe parameter.
>0 the number of 32-bit mailbox messages available for read
0 (zero) no data available (mailbox is empty)
On error, -1 is returned and errno is set to indicate the error.
Possible errors include:
ESRCH | The specified SPE context is invalid. |
EIO | The I/O error occurred. |