spe_event_handler_destroy - Destroy a SPE event handler.
#include <libspe2.h>
int spe_event_handler_destroy (spe_event_handler_ptr_t evhandler);
Parameters | |
evhandler | A pointer to the SPE event handler to be destroyed. |
On success, 0 (zero) is returned.
On error, -1 is returned and errno ise set to indicate the error.
Possible errors include:
ESRCH | The specified SPE event handler is invalid. |
EAGAIN | The specified SPE event handler cannot be destroyed at this time since it is in use, that is an spe_event_wait call is currently active waiting on this handler. |
EFAULT | A runtime error of the underlying OS service occurred. |