diff options
author | root <root> | 2010-03-29 12:40:57 +0000 |
---|---|---|
committer | root <root> | 2010-03-29 12:40:57 +0000 |
commit | 619a043b8db5e6856a1b5bfbe22a5ad33806fe82 (patch) | |
tree | c29c3595eb998d2a957f3f7a684caf7a200b7bcd | |
parent | f3c3a55593036d7dfecf3f59ddc951148d0ec228 (diff) |
*** empty log message ***
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | ev.c | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,7 @@ Revision history for libev, a high-performance and full-featured event loop. TODO: ABI??? API????? Changes??? TODO: win32 write() to socket for signal handling +TODO: poll asert - "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading. - ev_embed_stop did not correctly stop the watcher (very good testcase by Vladimir Timofeev). @@ -11,6 +12,8 @@ TODO: win32 write() to socket for signal handling - add (undocumented) EV_ENABLE when adding events with kqueue, this might help with OS X, which seems to need it despite documenting not to need it (helpfully pointed out by Tilghman Lesher). + - do not use poll by default on freebsd, it's broken (what isn't + on freebsd...). - configure now prepends -O3, not appends it, so one can still override it. - disable poll backend on AIX, the poll header spams the namespace @@ -1509,6 +1509,9 @@ ev_recommended_backends (void) flags &= ~EVBACKEND_KQUEUE; /* horribly broken, even for sockets */ flags &= ~EVBACKEND_POLL; /* poll is based on kqueue from 10.5 onwards */ #endif +#ifdef __FreeBSD__ + flags &= ~EVBACKEND_POLL; /* poll return value is unusable (http://forums.freebsd.org/archive/index.php/t-10270.html) */ +#endif return flags; } |