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

Comparing libev/ev.pod (file contents):
Revision 1.89 by root, Wed Dec 19 01:59:29 2007 UTC vs.
Revision 1.91 by root, Thu Dec 20 07:12:57 2007 UTC

331 331
332=item C<EVBACKEND_KQUEUE> (value 8, most BSD clones) 332=item C<EVBACKEND_KQUEUE> (value 8, most BSD clones)
333 333
334Kqueue deserves special mention, as at the time of this writing, it 334Kqueue deserves special mention, as at the time of this writing, it
335was broken on all BSDs except NetBSD (usually it doesn't work with 335was broken on all BSDs except NetBSD (usually it doesn't work with
336anything but sockets and pipes, except on Darwin, where of course its 336anything but sockets and pipes, except on Darwin, where of course it's
337completely useless). For this reason its not being "autodetected" 337completely useless). For this reason it's not being "autodetected"
338unless you explicitly specify it explicitly in the flags (i.e. using 338unless you explicitly specify it explicitly in the flags (i.e. using
339C<EVBACKEND_KQUEUE>). 339C<EVBACKEND_KQUEUE>).
340 340
341It scales in the same way as the epoll backend, but the interface to the 341It scales in the same way as the epoll backend, but the interface to the
342kernel is more efficient (which says nothing about its actual speed, of 342kernel is more efficient (which says nothing about its actual speed, of
1791 1791
1792Make a single, non-blocking sweep over the embedded loop. This works 1792Make a single, non-blocking sweep over the embedded loop. This works
1793similarly to C<ev_loop (embedded_loop, EVLOOP_NONBLOCK)>, but in the most 1793similarly to C<ev_loop (embedded_loop, EVLOOP_NONBLOCK)>, but in the most
1794apropriate way for embedded loops. 1794apropriate way for embedded loops.
1795 1795
1796=item struct ev_loop *loop [read-only] 1796=item struct ev_loop *other [read-only]
1797 1797
1798The embedded event loop. 1798The embedded event loop.
1799 1799
1800=back 1800=back
1801 1801
2140Libev can (and often is) directly embedded into host 2140Libev can (and often is) directly embedded into host
2141applications. Examples of applications that embed it include the Deliantra 2141applications. Examples of applications that embed it include the Deliantra
2142Game Server, the EV perl module, the GNU Virtual Private Ethernet (gvpe) 2142Game Server, the EV perl module, the GNU Virtual Private Ethernet (gvpe)
2143and rxvt-unicode. 2143and rxvt-unicode.
2144 2144
2145The goal is to enable you to just copy the neecssary files into your 2145The goal is to enable you to just copy the necessary files into your
2146source directory without having to change even a single line in them, so 2146source directory without having to change even a single line in them, so
2147you can easily upgrade by simply copying (or having a checked-out copy of 2147you can easily upgrade by simply copying (or having a checked-out copy of
2148libev somewhere in your source tree). 2148libev somewhere in your source tree).
2149 2149
2150=head2 FILESETS 2150=head2 FILESETS
2250 2250
2251If defined to be C<1>, libev will try to detect the availability of the 2251If defined to be C<1>, libev will try to detect the availability of the
2252realtime clock option at compiletime (and assume its availability at 2252realtime clock option at compiletime (and assume its availability at
2253runtime if successful). Otherwise no use of the realtime clock option will 2253runtime if successful). Otherwise no use of the realtime clock option will
2254be attempted. This effectively replaces C<gettimeofday> by C<clock_get 2254be attempted. This effectively replaces C<gettimeofday> by C<clock_get
2255(CLOCK_REALTIME, ...)> and will not normally affect correctness. See tzhe note about libraries 2255(CLOCK_REALTIME, ...)> and will not normally affect correctness. See the
2256in the description of C<EV_USE_MONOTONIC>, though. 2256note about libraries in the description of C<EV_USE_MONOTONIC>, though.
2257 2257
2258=item EV_USE_SELECT 2258=item EV_USE_SELECT
2259 2259
2260If undefined or defined to be C<1>, libev will compile in support for the 2260If undefined or defined to be C<1>, libev will compile in support for the
2261C<select>(2) backend. No attempt at autodetection will be done: if no 2261C<select>(2) backend. No attempt at autodetection will be done: if no

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines