summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2009-09-18 21:02:12 +0000
committerroot <root>2009-09-18 21:02:12 +0000
commitfdd77c568da2da28ff18c3a92bd77af35a99ea61 (patch)
treefd5af87a255417d782b6421e11ca7ad4d35bfe3a
parent630f0baa71578c0f7095403849e600934e920b33 (diff)
*** empty log message ***
-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