]> git.llucax.com Git - software/libev.git/commitdiff
*** empty log message ***
authorroot <root>
Fri, 18 Jan 2008 11:31:02 +0000 (11:31 +0000)
committerroot <root>
Fri, 18 Jan 2008 11:31:02 +0000 (11:31 +0000)
Changes
ev.c

diff --git a/Changes b/Changes
index d3b1691628d4b47b48ed27f1dd973ab2697e6fc7..c2090424b0c8489819411487e94c07c3a9ad2699 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,6 +2,7 @@ Revision history for libev, a high-performance and full-featured event loop
 
        - ev++.h includes "ev.h" by default now, not <ev.h>.
        - slightly improved documentation.
+       - speed up signal detection after a fork.
 
 2.01 Tue Dec 25 08:04:41 CET 2007
        - separate Changes file.
diff --git a/ev.c b/ev.c
index 8a915a4a6e58faba252d3f2a1b608731a3616c7f..bfff3f6d3bb05d0303bd1130c05b9476b1af0e1b 100644 (file)
--- a/ev.c
+++ b/ev.c
@@ -1168,6 +1168,7 @@ loop_fork (EV_P)
         syserr ("(libev) error creating pipe");
 
       siginit (EV_A);
+      sigcb (EV_A_ &sigev, EV_READ);
     }
 
   postfork = 0;