ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.195 by root, Sat Dec 22 11:44:51 2007 UTC vs.
Revision 1.196 by root, Sat Dec 22 12:43:28 2007 UTC

972} 972}
973 973
974unsigned int 974unsigned int
975ev_embeddable_backends (void) 975ev_embeddable_backends (void)
976{ 976{
977 int flags = EVBACKEND_EPOLL | EVBACKEND_KQUEUE | EVBACKEND_PORT;
978
977 /* epoll embeddability broken on all linux versions up to at least 2.6.23 */ 979 /* epoll embeddability broken on all linux versions up to at least 2.6.23 */
978 return EVBACKEND_KQUEUE 980 /* please fix it and tell me how to detect the fix */
979 | EVBACKEND_PORT; 981 flags &= ~EVBACKEND_EPOLL;
982
983#ifdef __APPLE__
984 /* is there anything thats not broken on darwin? */
985 flags &= ~EVBACKEND_KQUEUE;
986#endif
987
988 return flags;
980} 989}
981 990
982unsigned int 991unsigned int
983ev_backend (EV_P) 992ev_backend (EV_P)
984{ 993{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines