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

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

1713otherwise another method will be used as fallback. This is the preferred 1713otherwise another method will be used as fallback. This is the preferred
1714backend for \s-1BSD\s0 and BSD-like systems, although on most BSDs kqueue only 1714backend for \s-1BSD\s0 and BSD-like systems, although on most BSDs kqueue only
1715supports some types of fds correctly (the only platform we found that 1715supports some types of fds correctly (the only platform we found that
1716supports ptys for example was NetBSD), so kqueue might be compiled in, but 1716supports ptys for example was NetBSD), so kqueue might be compiled in, but
1717not be used unless explicitly requested. The best way to use it is to find 1717not be used unless explicitly requested. The best way to use it is to find
1718out wether kqueue supports your type of fd properly and use an embedded 1718out whether kqueue supports your type of fd properly and use an embedded
1719kqueue loop. 1719kqueue loop.
1720.IP "\s-1EV_USE_PORT\s0" 4 1720.IP "\s-1EV_USE_PORT\s0" 4
1721.IX Item "EV_USE_PORT" 1721.IX Item "EV_USE_PORT"
1722If defined to be \f(CW1\fR, libev will compile in support for the Solaris 1722If defined to be \f(CW1\fR, libev will compile in support for the Solaris
172310 port style backend. Its availability will be detected at runtime, 172310 port style backend. Its availability will be detected at runtime,
1797.Sp 1797.Sp
1798The usage in rxvt-unicode is simpler. It has a \fIev_cpp.h\fR header file 1798The usage in rxvt-unicode is simpler. It has a \fIev_cpp.h\fR header file
1799that everybody includes and which overrides some autoconf choices: 1799that everybody includes and which overrides some autoconf choices:
1800.Sp 1800.Sp
1801.Vb 4 1801.Vb 4
1802\& #define EV_USE_POLL 0 1802\& #define EV_USE_POLL 0
1803\& #define EV_MULTIPLICITY 0 1803\& #define EV_MULTIPLICITY 0
1804\& #define EV_PERIODICS 0 1804\& #define EV_PERIODICS 0
1805\& #define EV_CONFIG_H <config.h> 1805\& #define EV_CONFIG_H <config.h>
1806.Ve 1806.Ve
1807.Sp 1807.Sp
1808.Vb 1 1808.Vb 1
1809\& #include "ev++.h" 1809\& #include "ev++.h"
1810.Ve 1810.Ve
1811.Sp 1811.Sp
1812And a \fIev_cpp.C\fR implementation file that contains libev proper and is compiled: 1812And a \fIev_cpp.C\fR implementation file that contains libev proper and is compiled:
1813.Sp 1813.Sp
1814.Vb 1
1815\& #include "rxvttoolkit.h"
1816.Ve
1817.Sp
1818.Vb 2 1814.Vb 2
1819\& /* darwin has problems with its header files in C++, requiring this namespace juggling */ 1815\& #include "ev_cpp.h"
1820\& using namespace ev;
1821.Ve
1822.Sp
1823.Vb 1
1824\& #include "ev.c" 1816\& #include "ev.c"
1825.Ve 1817.Ve
1826.SH "AUTHOR" 1818.SH "AUTHOR"
1827.IX Header "AUTHOR" 1819.IX Header "AUTHOR"
1828Marc Lehmann <libev@schmorp.de>. 1820Marc Lehmann <libev@schmorp.de>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines