From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20726 invoked by alias); 31 Aug 2006 21:03:13 -0000 Received: (qmail 20715 invoked by uid 22791); 31 Aug 2006 21:03:12 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 31 Aug 2006 21:03:10 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k7VL2TFq002651; Thu, 31 Aug 2006 23:02:30 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.8/8.13.6) with ESMTP id k7VL2TR7031235; Thu, 31 Aug 2006 23:02:29 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id k7VL2TAe017778; Thu, 31 Aug 2006 23:02:29 +0200 (CEST) Date: Thu, 31 Aug 2006 21:03:00 -0000 Message-Id: <200608312102.k7VL2TAe017778@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: nickrob@snap.net.nz CC: drow@false.org, gdb@sources.redhat.com In-reply-to: <17653.930.196634.143646@kahikatea.snap.net.nz> (message from Nick Roberts on Wed, 30 Aug 2006 15:18:58 +1200) Subject: Re: Merge of nickrob-async-20060513 to mainline? References: <17652.63229.637451.185345@kahikatea.snap.net.nz> <20060830023335.GA6377@nevyn.them.org> <17653.930.196634.143646@kahikatea.snap.net.nz> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00287.txt.bz2 > From: Nick Roberts > Date: Wed, 30 Aug 2006 15:18:58 +1200 > > Also it still uses pthreads. You said previously that it should be done > in one process and, following a remark from Jim Ingham, that ptrace is > non-blocking. AFAICS the problem is that wait *is* blocking and I can't > see of a way to deal with that without using another thread. I've stated before that I think that making gdb multi-threaded is a seriously bad idea. Mark