From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 15 21:50:00 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D39FC16A418 for ; Sat, 15 Dec 2007 21:50:00 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outB.internet-mail-service.net (outB.internet-mail-service.net [216.240.47.225]) by mx1.freebsd.org (Postfix) with ESMTP id C263913C467 for ; Sat, 15 Dec 2007 21:50:00 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sat, 15 Dec 2007 13:50:00 -0800 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 600B6126CD8; Sat, 15 Dec 2007 13:49:59 -0800 (PST) Message-ID: <47644BFE.3060003@elischer.org> Date: Sat, 15 Dec 2007 13:49:50 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: James Mansion References: <4763A398.2040109@mansionfamily.plus.com> In-Reply-To: <4763A398.2040109@mansionfamily.plus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: kqueue and libev X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2007 21:50:00 -0000 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"