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

Comparing libev/ev.pod (file contents):
Revision 1.39 by root, Sat Nov 24 10:10:26 2007 UTC vs.
Revision 1.41 by root, Sat Nov 24 10:19:14 2007 UTC

1583otherwise another method will be used as fallback. This is the preferred 1583otherwise another method will be used as fallback. This is the preferred
1584backend for BSD and BSD-like systems, although on most BSDs kqueue only 1584backend for BSD and BSD-like systems, although on most BSDs kqueue only
1585supports some types of fds correctly (the only platform we found that 1585supports some types of fds correctly (the only platform we found that
1586supports ptys for example was NetBSD), so kqueue might be compiled in, but 1586supports ptys for example was NetBSD), so kqueue might be compiled in, but
1587not be used unless explicitly requested. The best way to use it is to find 1587not be used unless explicitly requested. The best way to use it is to find
1588out wether kqueue supports your type of fd properly and use an embedded 1588out whether kqueue supports your type of fd properly and use an embedded
1589kqueue loop. 1589kqueue loop.
1590 1590
1591=item EV_USE_PORT 1591=item EV_USE_PORT
1592 1592
1593If defined to be C<1>, libev will compile in support for the Solaris 1593If defined to be C<1>, libev will compile in support for the Solaris
1673file. 1673file.
1674 1674
1675The usage in rxvt-unicode is simpler. It has a F<ev_cpp.h> header file 1675The usage in rxvt-unicode is simpler. It has a F<ev_cpp.h> header file
1676that everybody includes and which overrides some autoconf choices: 1676that everybody includes and which overrides some autoconf choices:
1677 1677
1678 #define EV_USE_POLL 0 1678 #define EV_USE_POLL 0
1679 #define EV_MULTIPLICITY 0 1679 #define EV_MULTIPLICITY 0
1680 #define EV_PERIODICS 0 1680 #define EV_PERIODICS 0
1681 #define EV_CONFIG_H <config.h> 1681 #define EV_CONFIG_H <config.h>
1682 1682
1683 #include "ev++.h" 1683 #include "ev++.h"
1684 1684
1685And a F<ev_cpp.C> implementation file that contains libev proper and is compiled: 1685And a F<ev_cpp.C> implementation file that contains libev proper and is compiled:
1686 1686
1687 #include "rxvttoolkit.h" 1687 #include "ev_cpp.h"
1688
1689 /* darwin has problems with its header files in C++, requiring this namespace juggling */
1690 using namespace ev;
1691
1692 #include "ev.c" 1688 #include "ev.c"
1693
1694 1689
1695=head1 AUTHOR 1690=head1 AUTHOR
1696 1691
1697Marc Lehmann <libev@schmorp.de>. 1692Marc Lehmann <libev@schmorp.de>.
1698 1693

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines