From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751355AbVHNAWk (ORCPT ); Sat, 13 Aug 2005 20:22:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751356AbVHNAWj (ORCPT ); Sat, 13 Aug 2005 20:22:39 -0400 Received: from [81.2.110.250] ([81.2.110.250]:24218 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S1751355AbVHNAWi (ORCPT ); Sat, 13 Aug 2005 20:22:38 -0400 Subject: Re: Opening of blocking FIFOs not reliable? From: Alan Cox To: Teemu Koponen Cc: linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 14 Aug 2005 01:49:24 +0100 Message-Id: <1123980565.14138.21.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Gwe, 2005-08-12 at 20:18 -0700, Teemu Koponen wrote: > the reader gets scheduled. Shouldn't the writer's open() block until > the reader's open() is done? Not neccessarily - but you are correct that it should lead to the readers open completing and then EOFs being returned. Do you have a test case for the problem? Alan