From owner-freebsd-stable@FreeBSD.ORG Thu Jun 11 08:41:17 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D48571065673 for ; Thu, 11 Jun 2009 08:41:17 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by mx1.freebsd.org (Postfix) with ESMTP id 4471A8FC13 for ; Thu, 11 Jun 2009 08:41:16 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by fxm20 with SMTP id 20so1255225fxm.43 for ; Thu, 11 Jun 2009 01:41:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.125.144 with SMTP id y16mr2016355far.93.1244709676136; Thu, 11 Jun 2009 01:41:16 -0700 (PDT) In-Reply-To: <20090604030724.V1181@besplex.bde.org> References: <20090603123208.GK1927@deviant.kiev.zoral.com.ua> <20090603143051.GM1927@deviant.kiev.zoral.com.ua> <20090603150710.GN1927@deviant.kiev.zoral.com.ua> <20090604030724.V1181@besplex.bde.org> From: Vlad Galu Date: Thu, 11 Jun 2009 11:40:56 +0300 Message-ID: To: Bruce Evans Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , freebsd-stable@freebsd.org, Oliver Fromme Subject: Re: poll()-ing a pipe descriptor, watching for POLLHUP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 08:41:18 -0000 On Wed, Jun 3, 2009 at 9:42 PM, Bruce Evans wrote: [...] Hello Bruce, Kostik, Oliver. Was any consensus reached on how to tackle this issue? The RELENG_7 code looks slightly different so I haven't (yet) tried adapting the provided patches. As for the interface behavior, I think the nicest way would be to signal EOF by POLLHUP alone, without POLLIN. Regards, Vlad