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

Comparing libev/ev.pod (file contents):
Revision 1.452 by root, Tue Jun 25 04:58:36 2019 UTC vs.
Revision 1.453 by root, Tue Jun 25 05:01:22 2019 UTC

618This backend maps C<EV_READ> and C<EV_WRITE> in the same way as 618This backend maps C<EV_READ> and C<EV_WRITE> in the same way as
619C<EVBACKEND_POLL>. 619C<EVBACKEND_POLL>.
620 620
621=item C<EVBACKEND_KQUEUE> (value 8, most BSD clones) 621=item C<EVBACKEND_KQUEUE> (value 8, most BSD clones)
622 622
623Kqueue deserves special mention, as at the time of this writing, it 623Kqueue deserves special mention, as at the time this backend was
624was broken on all BSDs except NetBSD (usually it doesn't work reliably 624implemented, it was broken on all BSDs except NetBSD (usually it doesn't
625with anything but sockets and pipes, except on Darwin, where of course 625work reliably with anything but sockets and pipes, except on Darwin,
626it's completely useless). Unlike epoll, however, whose brokenness 626where of course it's completely useless). Unlike epoll, however, whose
627is by design, these kqueue bugs can (and eventually will) be fixed 627brokenness is by design, these kqueue bugs can be (and mostly have been)
628without API changes to existing programs. For this reason it's not being 628fixed without API changes to existing programs. For this reason it's not
629"auto-detected" unless you explicitly specify it in the flags (i.e. using 629being "auto-detected" on all platforms unless you explicitly specify it
630C<EVBACKEND_KQUEUE>) or libev was compiled on a known-to-be-good (-enough) 630in the flags (i.e. using C<EVBACKEND_KQUEUE>) or libev was compiled on a
631system like NetBSD. 631known-to-be-good (-enough) system like NetBSD.
632 632
633You still can embed kqueue into a normal poll or select backend and use it 633You still can embed kqueue into a normal poll or select backend and use it
634only for sockets (after having made sure that sockets work with kqueue on 634only for sockets (after having made sure that sockets work with kqueue on
635the target platform). See C<ev_embed> watchers for more info. 635the target platform). See C<ev_embed> watchers for more info.
636 636

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines