… | |
… | |
331 | |
331 | |
332 | =item C<EVBACKEND_KQUEUE> (value 8, most BSD clones) |
332 | =item C<EVBACKEND_KQUEUE> (value 8, most BSD clones) |
333 | |
333 | |
334 | Kqueue deserves special mention, as at the time of this writing, it |
334 | Kqueue deserves special mention, as at the time of this writing, it |
335 | was broken on all BSDs except NetBSD (usually it doesn't work with |
335 | was broken on all BSDs except NetBSD (usually it doesn't work with |
336 | anything but sockets and pipes, except on Darwin, where of course its |
336 | anything but sockets and pipes, except on Darwin, where of course it's |
337 | completely useless). For this reason its not being "autodetected" |
337 | completely useless). For this reason it's not being "autodetected" |
338 | unless you explicitly specify it explicitly in the flags (i.e. using |
338 | unless you explicitly specify it explicitly in the flags (i.e. using |
339 | C<EVBACKEND_KQUEUE>). |
339 | C<EVBACKEND_KQUEUE>). |
340 | |
340 | |
341 | It scales in the same way as the epoll backend, but the interface to the |
341 | It scales in the same way as the epoll backend, but the interface to the |
342 | kernel is more efficient (which says nothing about its actual speed, of |
342 | kernel is more efficient (which says nothing about its actual speed, of |
… | |
… | |
2250 | |
2250 | |
2251 | If defined to be C<1>, libev will try to detect the availability of the |
2251 | If defined to be C<1>, libev will try to detect the availability of the |
2252 | realtime clock option at compiletime (and assume its availability at |
2252 | realtime clock option at compiletime (and assume its availability at |
2253 | runtime if successful). Otherwise no use of the realtime clock option will |
2253 | runtime if successful). Otherwise no use of the realtime clock option will |
2254 | be attempted. This effectively replaces C<gettimeofday> by C<clock_get |
2254 | be 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 |
2256 | in the description of C<EV_USE_MONOTONIC>, though. |
2256 | note 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 | |
2260 | If undefined or defined to be C<1>, libev will compile in support for the |
2260 | If undefined or defined to be C<1>, libev will compile in support for the |
2261 | C<select>(2) backend. No attempt at autodetection will be done: if no |
2261 | C<select>(2) backend. No attempt at autodetection will be done: if no |