Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 9 years ago
parent
commit
733969f153
  1. 1
      Changes
  2. 2
      ev.c

1
Changes

@ -11,6 +11,7 @@ TODO: document the special problem of signals around fork.
TODO: store pid for each signal
TODO: document file descriptor usage per loop
TODO: store loop pid_t and compare isndie signal handler,store 1 for same, 2 for differign pid, clean up in loop_fork
TODO: embed watchers need updating when fd changes
- destroying a non-default loop would stop the global waitpid
watcher (Denis Bilenko).
- queueing pending watchers of higher priority from a watcher now invokes

2
ev.c

@ -2030,6 +2030,7 @@ void
ev_feed_signal (int signum) EV_THROW
{
#if EV_MULTIPLICITY
ECB_MEMORY_FENCE_ACQUIRE;
EV_P = signals [signum - 1].loop;
if (!EV_A)
@ -3528,6 +3529,7 @@ ev_signal_start (EV_P_ ev_signal *w) EV_THROW
!signals [w->signum - 1].loop || signals [w->signum - 1].loop == loop));
signals [w->signum - 1].loop = EV_A;
ECB_MEMORY_FENCE_RELEASE;
#endif
EV_FREQUENT_CHECK;

Loading…
Cancel
Save