Lines Matching defs:handler
71 to set a signal handler, and a socket pair to tell the event base when
128 /* Callback for when the signal handler write a byte to our signaling socket */
172 * Our signal handler is going to write to one end of the socket
207 /* Helper: set the signal handler for evsignal to handler in base, so that
208 * we can restore the original handler when we clear the current one. */
211 int evsignal, void (__cdecl *handler)(int))
222 * resize saved signal handler array up to the highest signal number.
242 /* allocate space for previous handler out of dynamic array */
249 /* save previous handler and setup new handler */
252 sa.sa_handler = handler;
263 if ((sh = signal(evsignal, handler)) == SIG_ERR) {
299 event_debug(("%s: %d: changing signal handler", __func__, (int)evsignal));
332 /* restore previous handler */
357 event_debug(("%s: %d: restoring signal handler", __func__, evsignal));