From owner-freebsd-current Tue Sep 5 13:54: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from dataloss.net (ppp0.knz.ams.dataloss.net [212.189.231.51]) by hub.freebsd.org (Postfix) with SMTP id 7DA4D37B440 for <current@freebsd.org>; Tue, 5 Sep 2000 13:54:02 -0700 (PDT) Received: (qmail 4111 invoked by uid 1000); 5 Sep 2000 20:53:43 -0000 Date: Tue, 5 Sep 2000 22:53:43 +0200 From: Peter van Dijk <peter@dataloss.net> To: current@freebsd.org Subject: Re: FIFOs & select: what about our implementation? Message-ID: <20000905225343.D2435@dataloss.net> Mail-Followup-To: Peter van Dijk <peter@dataloss.net>, current@freebsd.org References: <20000905192458.A1428@dataloss.net> <Pine.BSF.4.21.0009060543430.25048-100000@besplex.bde.org> <20000906004433.A72273@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000906004433.A72273@nagual.pp.ru>; from ache@nagual.pp.ru on Wed, Sep 06, 2000 at 12:44:33AM +0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Sep 06, 2000 at 12:44:33AM +0400, Andrey A. Chernov wrote: [snip] > > Please consider that we talk not about reads but about select. 'Select' is > used to indicate that data is available while 'read' used to read it, they > are two different things and behaviour of one thing not related to other. > Currently select indicates that data is available when it really isn't. I > don't ask to fix current read implementation, but select is just unusable > for FIFOs in its current form. I wouldn't say 'unusable'. It needs a work around. It is broken, in that selecting for readability on a pipe requires you to open that writing fd on it *everytime*. Greetz, Peter -- dataloss networks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message