From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21776 invoked by alias); 22 Nov 2002 05:02:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21767 invoked from network); 22 Nov 2002 05:02:28 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 22 Nov 2002 05:02:28 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 632713E4B; Fri, 22 Nov 2002 00:02:21 -0500 (EST) Message-ID: <3DDDBA5D.6030407@redhat.com> Date: Thu, 21 Nov 2002 21:02:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: PATCH/RFC: Bring lin-lwp performance back to the real world References: <20021122041123.GA21389@nevyn.them.org> <3DDDB7B5.2070809@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00536.txt.bz2 BTW, + if (lseek (fd, addr, SEEK_SET) == -1 + || read (fd, myaddr, len) != len) ssize_t pread(int d, void *buf, size_t nbytes, off_t offset) (I only learnt about this recently) Andrew