static void _test_stop_event(int fd, PARCEventType flags, void *data) { PARCEventSignal **parcEventSignal = (PARCEventSignal **) data; _test_event_called++; parcEventSignal_Stop(*parcEventSignal); }
void metisDispatcher_StopSignalEvent(MetisDispatcher *dispatcher, PARCEventSignal *event) { assertNotNull(dispatcher, "Parameter dispatcher must be non-null"); assertNotNull(event, "Parameter event must be non-null"); int failure = parcEventSignal_Stop(event); assertFalse(failure < 0, "Error stopping signal event %p: (%d) %s", (void *) event, errno, strerror(errno)); }