mirror of /home/gitosis/repositories/libev.git
*** empty log message ***
This commit is contained in:
parent
76986c3ef9
commit
34cd283b1b
1
Changes
1
Changes
|
@ -20,6 +20,7 @@ TODO: EV_MINIMAL
|
|||
- implement ev_loop_depth.
|
||||
- do not compile in any priority code when EV_MAXPRI == EV_MINPRI.
|
||||
- support EV_MINIMAL==2 for a reduced API.
|
||||
- actually 0-initialise struct sigaction when installing signals.
|
||||
|
||||
3.6 Tue Apr 28 02:49:30 CEST 2009
|
||||
- multiple timers becoming ready within an event loop iteration
|
||||
|
|
2
ev.c
2
ev.c
|
@ -2587,7 +2587,7 @@ ev_signal_start (EV_P_ ev_signal *w)
|
|||
#if _WIN32
|
||||
signal (w->signum, ev_sighandler);
|
||||
#else
|
||||
struct sigaction sa;
|
||||
struct sigaction sa = { };
|
||||
sa.sa_handler = ev_sighandler;
|
||||
sigfillset (&sa.sa_mask);
|
||||
sa.sa_flags = SA_RESTART; /* if restarting works we save one iteration */
|
||||
|
|
Loading…
Reference in New Issue