Date: Sun, 16 Dec 2007 05:18:19 -0700 From: Bert JW Regeer <xistence@0x58.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: kqueue and libev Message-ID: <0D37AA11-3C3F-45AD-90EE-F0E2BB0CF7FD@0x58.com> In-Reply-To: <b1fa29170712150747o2794b224vd6ab789edc942032@mail.gmail.com> References: <4763A398.2040109@mansionfamily.plus.com> <b1fa29170712150747o2794b224vd6ab789edc942032@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-2-456967346 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Dec 15, 2007, at 08:47 , Kip Macy wrote: > On 12/15/07, James Mansion <james@mansionfamily.plus.com> wrote: >> Any idea what the author of libev is on about here (from >> http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod): >> >> unsigned int ev_recommended_backends () >> >> Return the set of all backends compiled into this binary of libev >> and also recommended for this platform. This set is often smaller >> than the one returned by |ev_supported_backends|, as for example >> kqueue is broken on most BSDs and will not be autodetected unless >> you explicitly request it (assuming you know what you are doing). >> >> and >> >> |EVBACKEND_KQUEUE| (value 8, most BSD clones) >> >> Kqueue deserves special mention, as at the time of this writing, >> it >> was broken on all BSDs except NetBSD (usually it doesn't work with >> anything but sockets and pipes, except on Darwin, where of course >> its completely useless). For this reason its not being >> "autodetected" unless you explicitly specify it explicitly in the >> flags (i.e. using |EVBACKEND_KQUEUE|). >> >> It looks like a decent library, but these comments seem unfortunate. >> Does anyone know what the author is concerned about? >> >> James >> > Actually, until recently it was broken on pipes. We've never received > any PRs to that effect so there is no way of knowing. You'll have > better luck asking the author himself. > > -Kip How recently? I have been using kqueue with pipes in several programs for the last year or so. Bert JW Regeer --Apple-Mail-2-456967346--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0D37AA11-3C3F-45AD-90EE-F0E2BB0CF7FD>