summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-11-05 02:48:45 +0000
committerroot <root>2008-11-05 02:48:45 +0000
commit7090db9e0e0fdaef6c8275a01efabb37e9c27bb8 (patch)
tree6fd64597904d3ad4c555a9c8fd77a12e195613c2
parent3e86d72cac7b366add3fca5f3cd6af7635ee29cd (diff)
*** empty log message ***
-rw-r--r--ev.h2
-rw-r--r--ev.pod3
2 files changed, 4 insertions, 1 deletions
diff --git a/ev.h b/ev.h
index c285786..01a1155 100644
--- a/ev.h
+++ b/ev.h
@@ -515,7 +515,7 @@ void ev_set_timeout_collect_interval (EV_P_ ev_tstamp interval); /* sleep at lea
void ev_ref (EV_P);
void ev_unref (EV_P);
-/* convinience function, wait for a single event, without registering an event watcher */
+/* convenience function, wait for a single event, without registering an event watcher */
/* if timeout is < 0, do wait indefinitely */
void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg);
#endif
diff --git a/ev.pod b/ev.pod
index 20cda37..9fb616d 100644
--- a/ev.pod
+++ b/ev.pod
@@ -420,6 +420,9 @@ extra overhead. A fork can both result in spurious notifications as well
as in libev having to destroy and recreate the epoll object, which can
take considerable time and thus should be avoided.
+All this means that, in practise, C<EVBACKEND_SELECT> is as fast or faster
+then epoll for maybe up to a hundred file descriptors. So sad.
+
While nominally embeddable in other event loops, this feature is broken in
all kernel versions tested so far.