From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16051 invoked by alias); 8 Mar 2008 08:16:31 -0000 Received: (qmail 16043 invoked by uid 22791); 8 Mar 2008 08:16:31 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 08 Mar 2008 08:16:04 +0000 Received: (qmail 31478 invoked from network); 8 Mar 2008 08:16:02 -0000 Received: from unknown (HELO localhost) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 Mar 2008 08:16:02 -0000 From: Vladimir Prus To: Nick Roberts , gdb-patches@sources.redhat.com Subject: Re: [RFA] Async mode fixes. Date: Sat, 08 Mar 2008 08:16:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) References: <200803051027.29575.vladimir@codesourcery.com> <18385.48967.964309.898509@kahikatea.snap.net.nz> <20080307223247.GA12001@caradoc.them.org> In-Reply-To: <20080307223247.GA12001@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803081115.54714.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00061.txt.bz2 On Saturday 08 March 2008 01:32:47 Daniel Jacobowitz wrote: > Hi Nick, thanks for looking at this. I was hoping you would. > > On Sat, Mar 08, 2008 at 11:18:47AM +1300, Nick Roberts wrote: > > Like my patch, IMO this one looks a bit like a dog's breakfast. It's got some > > good ideas, though, and has certainly increased my understanding of the > > asynchronous code. Perhaps a combination of the two patches would create > > something useful. > > As I understand it, it already is combined - I know Vladimir started > with a copy of your most recent async patch. Yes. Nick patch has two bits: 1. Linux native async mode (which Pedro is looking at as we speak) 2. Core async mode changes. My patches addresses (2), and I've used both Nick's patch and Apple branch source as reference. > I haven't looked at his > patch yet but it may need to be broken down into some pieces. I surely can break it into 10 separate patches, *if* that will make it more easy to review for you. > > It may reduce the failures, but I suspect that's partly because it's not really > > running asynchronously. I don't understand how it really could without adding > > another file handler for inferior events. That doesn't mean it can't, just > > that I don't understand how it could. > > Vladimir, what target were you using to test - was it "target async"? Yes, it's target async, and it's really running asynchronously. - Volodya