summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--ev++.h2
-rw-r--r--ev.pod13
3 files changed, 14 insertions, 4 deletions
diff --git a/Changes b/Changes
index 1beb3fd..d3b1691 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
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.
+
2.01 Tue Dec 25 08:04:41 CET 2007
- separate Changes file.
- fix ev_path_set => ev_stat_set typo.
diff --git a/ev++.h b/ev++.h
index e447998..53367c1 100644
--- a/ev++.h
+++ b/ev++.h
@@ -43,7 +43,7 @@
#ifdef EV_H
# include EV_H
#else
-# include <ev.h>
+# include "ev.h"
#endif
namespace ev {
diff --git a/ev.pod b/ev.pod
index def18ac..6d8fe82 100644
--- a/ev.pod
+++ b/ev.pod
@@ -262,6 +262,13 @@ flags. If that is troubling you, check C<ev_backend ()> afterwards).
If you don't know what event loop to use, use the one returned from this
function.
+The default loop is the only loop that can handle C<ev_signal> and
+C<ev_child> watchers, and to do this, it always registers a handler
+for C<SIGCHLD>. If this is a problem for your app you can either
+create a dynamic loop with C<ev_loop_new> that doesn't do that, or you
+can simply overwrite the C<SIGCHLD> signal handler I<after> calling
+C<ev_default_init>.
+
The flags argument can be used to specify special behaviour or specific
backends to use, and is usually specified as C<0> (or C<EVFLAG_AUTO>).
@@ -2558,8 +2565,8 @@ be detected at runtime.
=item EV_H
The name of the F<ev.h> header file used to include it. The default if
-undefined is C<"ev.h"> in F<event.h> and F<ev.c>. This can be used to
-virtually rename the F<ev.h> header file in case of conflicts.
+undefined is C<"ev.h"> in F<event.h>, F<ev.c> and F<ev++.h>. This can be
+used to virtually rename the F<ev.h> header file in case of conflicts.
=item EV_CONFIG_H
@@ -2570,7 +2577,7 @@ C<EV_H>, above.
=item EV_EVENT_H
Similarly to C<EV_H>, this macro can be used to override F<event.c>'s idea
-of how the F<event.h> header can be found, the dfeault is C<"event.h">.
+of how the F<event.h> header can be found, the default is C<"event.h">.
=item EV_PROTOTYPES