Date: Sat, 15 Dec 2007 13:49:50 -0800 From: Julian Elischer <julian@elischer.org> To: James Mansion <james@mansionfamily.plus.com> Cc: freebsd-hackers@freebsd.org Subject: Re: kqueue and libev Message-ID: <47644BFE.3060003@elischer.org> In-Reply-To: <4763A398.2040109@mansionfamily.plus.com> References: <4763A398.2040109@mansionfamily.plus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
James Mansion 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? he's just plain misinformed > > James > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47644BFE.3060003>