]> git.llucax.com Git - software/libev.git/blobdiff - ev.c
Add exceptions support to C++ interface.
[software/libev.git] / ev.c
diff --git a/ev.c b/ev.c
index bfff3f6d3bb05d0303bd1130c05b9476b1af0e1b..d024017fe249eea3d041f920f95127652c4f7f44 100644 (file)
--- a/ev.c
+++ b/ev.c
@@ -1200,7 +1200,7 @@ ev_loop_destroy (EV_P)
 void
 ev_loop_fork (EV_P)
 {
-  postfork = 1;
+  postfork = 1; // must be in line with ev_default_fork
 }
 
 #endif
@@ -1274,7 +1274,7 @@ ev_default_fork (void)
 #endif
 
   if (backend)
-    postfork = 1;
+    postfork = 1; // must be in line with ev_loop_fork
 }
 
 /*****************************************************************************/