From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16499 invoked by alias); 23 Sep 2008 19:00:15 -0000 Received: (qmail 16486 invoked by uid 22791); 23 Sep 2008 19:00:14 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 23 Sep 2008 18:59:39 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m8NIxZ2D012575; Tue, 23 Sep 2008 14:59:35 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m8NIxY8L020732; Tue, 23 Sep 2008 14:59:34 -0400 Received: from opsy.redhat.com (vpn-10-159.bos.redhat.com [10.16.10.159]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m8NIxWah007220; Tue, 23 Sep 2008 14:59:33 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id D8245508592; Tue, 23 Sep 2008 12:58:49 -0600 (MDT) To: Joel Brobecker Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [RFA/Ada] Implement Ada tasking support References: <20080922233209.GE24389@adacore.com> <20080923150717.GF23372@adacore.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Tue, 23 Sep 2008 19:00:00 -0000 In-Reply-To: <20080923150717.GF23372@adacore.com> (Joel Brobecker's message of "Tue\, 23 Sep 2008 08\:07\:17 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-09/txt/msg00482.txt.bz2 >>>>> "Joel" == Joel Brobecker writes: >> Finally, if we do decide to have these new task commands, are there >> any other languages which could, at least in principle, benefit from >> the same feature for similar reasons, or is Ada the only one? Joel> I'm not sure - I don't know the other languages all that well. For C and C++, I don't think so. For Java... with gcj, a Java Thread is always also an OS thread. Java does have a bit more information than what the OS provides -- threads have names, are bundled into groups, etc. It might be handy to display that to the user ... though the user can easily just 'p Thread.currentThread()'. In short, I wouldn't worry about it. Tom