summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--ev.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/Changes b/Changes
index 243d9b7..bf107e7 100644
--- a/Changes
+++ b/Changes
@@ -5,6 +5,7 @@ TODO: EV_STANDALONE == NO_HASSEL (do not use clock_gettime in ev_standalone)
TODO: faq, process a thing in each iteration
TODO: dbeugging tips, ev_verify, ev_init twice
+TODO: document the special problem of signals around fork.
TODO: ev_feed_child_event
- destroying a non-default loop would stop the global waitpid
watcher (Denis Bilenko).
@@ -34,6 +35,8 @@ TODO: ev_feed_child_event
- chose socket vs. WSASocket at compiletime using EV_USE_WSASOCKET.
- always use WSASend/WSARecv directly on windows, hoping that this
works in all cases (unlike read/write/send/recv...).
+ - try to detect signals around a fork faster (test program by
+ Denis Bilenko).
4.11 Sat Feb 4 19:52:39 CET 2012
- INCOMPATIBLE CHANGE: ev_timer_again now clears the pending status, as
diff --git a/ev.c b/ev.c
index c9198ca..ff204bd 100644
--- a/ev.c
+++ b/ev.c
@@ -2552,8 +2552,8 @@ loop_fork (EV_P)
#if EV_SIGNAL_ENABLE || EV_ASYNC_ENABLE
evpipe_init (EV_A);
- /* now iterate over everything, in case we missed something */
- pipecb (EV_A_ &pipe_w, EV_READ);
+ /* iterate over everything, in case we missed something before */
+ ev_feed_event (EV_A_ &pipe_w, EV_CUSTOM);
#endif
}