summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c1
-rw-r--r--ev.h1
-rw-r--r--ev.pod2
3 files changed, 2 insertions, 2 deletions
diff --git a/ev.c b/ev.c
index ddfbe8b..0ba0da5 100644
--- a/ev.c
+++ b/ev.c
@@ -452,7 +452,6 @@ struct signalfd_siginfo
#define MIN_TIMEJUMP 1. /* minimum timejump that gets detected (if monotonic clock available) */
#define MAX_BLOCKTIME 59.743 /* never wait longer than this time (to detect time jumps) */
-/*#define CLEANUP_INTERVAL (MAX_BLOCKTIME * 5.) /* how often to try to free memory and re-check fds, TODO */
#if __GNUC__ >= 4
# define expect(expr,value) __builtin_expect ((expr),(value))
diff --git a/ev.h b/ev.h
index 9aebc89..372e895 100644
--- a/ev.h
+++ b/ev.h
@@ -414,6 +414,7 @@ union ev_any_watcher
#define EVBACKEND_KQUEUE 0x00000008U /* bsd */
#define EVBACKEND_DEVPOLL 0x00000010U /* solaris 8 */ /* NYI */
#define EVBACKEND_PORT 0x00000020U /* solaris 10 */
+#define EVBACKEND_ALL 0x0000003FU
#if EV_PROTOTYPES
int ev_version_major (void);
diff --git a/ev.pod b/ev.pod
index 08bac61..15722a1 100644
--- a/ev.pod
+++ b/ev.pod
@@ -372,7 +372,7 @@ I<inotify> API for it's C<ev_stat> watchers. Apart from debugging and
testing, this flag can be useful to conserve inotify file descriptors, as
otherwise each loop using C<ev_stat> watchers consumes one inotify handle.
-=item C<EVFLAG_NOSIGNALFD>
+=item C<EVFLAG_NOSIGFD>
When this flag is specified, then libev will not attempt to use the
I<signalfd> API for it's C<ev_signal> (and C<ev_child>) watchers. This is