Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 13 years ago
parent
commit
048b22b222
  1. 2
      ev.h
  2. 3
      ev.pod

2
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

3
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.

Loading…
Cancel
Save