From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261844AbUBWNXP (ORCPT ); Mon, 23 Feb 2004 08:23:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261845AbUBWNXO (ORCPT ); Mon, 23 Feb 2004 08:23:14 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:59574 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S261844AbUBWNXM (ORCPT ); Mon, 23 Feb 2004 08:23:12 -0500 Date: Thu, 19 Feb 2004 16:14:41 +0100 From: Pavel Machek To: Kai Henningsen Cc: linux-kernel@vger.kernel.org Subject: Re: VFS locking: f_pos thread-safe ? Message-ID: <20040219151441.GD467@openzaurus.ucw.cz> References: <92VRVYaHw-B@khms.westfalen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <92VRVYaHw-B@khms.westfalen.de> User-Agent: Mutt/1.3.27i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! > POSIX says on read.html>: > > [...] > DESCRIPTION > > The read() function shall attempt to read nbyte bytes from the file > associated with the open file descriptor, fildes, into the buffer pointed > to by buf. The behavior of multiple concurrent reads on the same pipe, > FIFO, or terminal device is unspecified. ...which implies that concurrent reads on regular files are okay :-P. Pavel -- 64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms