--- libev/ev.pod 2008/11/05 03:52:15 1.214 +++ libev/ev.pod 2008/11/17 03:37:08 1.217 @@ -11,6 +11,8 @@ // a single header file is required #include + #include // for puts + // every watcher type has its own typedef'd struct // with the name ev_TYPE ev_io stdin_watcher; @@ -420,8 +422,8 @@ 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 can be as fast or -faster then epoll for maybe up to a hundred file descriptors, depending on +All this means that, in practice, C can be as fast or +faster than epoll for maybe up to a hundred file descriptors, depending on the usage. So sad. While nominally embeddable in other event loops, this feature is broken in @@ -1421,7 +1423,7 @@ // callback was invoked, but there was some activity, re-arm // the watcher to fire in last_activity + 60, which is // guaranteed to be in the future, so "again" is positive: - w->again = timeout - now; + w->repeat = timeout - now; ev_timer_again (EV_A_ w); } }