diff options
author | root <root> | 2009-07-19 03:12:28 +0000 |
---|---|---|
committer | root <root> | 2009-07-19 03:12:28 +0000 |
commit | eaa7a6f0efd6057d048be8dbfe70fdaab2b63af8 (patch) | |
tree | ec197a22e67b6fa105826ca0464bcc5597ca5bef /ev.c | |
parent | dfa24c077cc325f0e21e169379aa6cac343cdaa2 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r-- | ev.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2685,7 +2685,9 @@ ev_signal_start (EV_P_ ev_signal *w) array_needsize (ANSIG, signals, signalmax, w->signum, array_init_zero); #ifndef _WIN32 +# if EV_USE_SIGNALFD if (sigfd < 0)/*TODO*/ +# endif sigdelset (&prev, w->signum); sigprocmask (SIG_SETMASK, &prev, 0); #endif @@ -2699,7 +2701,9 @@ ev_signal_start (EV_P_ ev_signal *w) #if _WIN32 signal (w->signum, ev_sighandler); #else +# if EV_USE_SIGNALFD if (sigfd < 0) /*TODO*/ +# endif { struct sigaction sa = { }; sa.sa_handler = ev_sighandler; |