From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 15 15:47:10 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 5082516A418 for ; Sat, 15 Dec 2007 15:47:10 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 1E7B913C44B for ; Sat, 15 Dec 2007 15:47:09 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so2172419waf.3 for ; Sat, 15 Dec 2007 07:47:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6nwRR3DsruolHJ7qEE925vvEhAnPx1mHfE1DMTO4nmY=; b=kcQctNiiIXUOjlA+3MJQIGUr3G2sPezDY/ITgeISGr5YASVOS5ykR5nWutrs9JHPtyPMhjscD03pDFVco2uvO7OOBD87fTo1kLnybnAeoXHxir8wPfjOCV4ejwmA6llTnQHHwiD9PP4qNsVRXyT0ZbHpkfroons9TcreciMTJYw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NjHi/ZMay9sTSoVllmn5hRTbeyLViC8AU5th6wTxQZ/P6nf7i+CwCRpAwxBAvhWjtpcTqHnIaQnNcgQGJwlWLpYBKFocYxGdJwkPXwgSwXzKUylfAsB61/7ScOscDO3hz0+3nGJVZv7kFv8cir7fDfg4Eptv0JrA5YXyORG0WBk= Received: by 10.114.15.1 with SMTP id 1mr210581wao.27.1197733629082; Sat, 15 Dec 2007 07:47:09 -0800 (PST) Received: by 10.114.255.11 with HTTP; Sat, 15 Dec 2007 07:47:08 -0800 (PST) Message-ID: Date: Sat, 15 Dec 2007 07:47:08 -0800 From: "Kip Macy" To: "James Mansion" , freebsd-hackers@freebsd.org In-Reply-To: <4763A398.2040109@mansionfamily.plus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4763A398.2040109@mansionfamily.plus.com> Cc: 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 15:47:10 -0000 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 On 12/15/07, 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? > > 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" >