From owner-cvs-all Sat Nov 10 1:31:50 2001 Delivered-To: cvs-all@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id ADFBD37B41C; Sat, 10 Nov 2001 01:31:46 -0800 (PST) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id E6B4F4CE11; Sat, 10 Nov 2001 04:31:45 -0500 (EST) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id EAA11583; Sat, 10 Nov 2001 04:31:43 -0500 (EST) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id BAA04711; Sat, 10 Nov 2001 01:31:43 -0800 (PST) Message-Id: <200111100931.BAA04711@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: bde@zeta.org.au Subject: Re: cvs commit: src/sys/fs/fifofs fifo_vnops.c Cc: alfred@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org Date: Sat, 10 Nov 2001 01:31:43 -0800 Versions: dmail (solaris) 2.2j/makemail 2.9b Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >For read(), it is normal to have to spin if there is no writer and you >don't want to block. You don't get a choice. POSIX [seems to say] that a blocking read on a FIFO with no writers will return 0, forcing you to spin no matter what. FIFO permissions mean that it's possible that the reader cannot supply a phantom writer. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message