From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14058 invoked by alias); 6 Oct 2005 18:30:59 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 14022 invoked by uid 22791); 6 Oct 2005 18:30:55 -0000 Received: from mail-out4.apple.com (HELO mail-out4.apple.com) (17.254.13.23) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 06 Oct 2005 18:30:55 +0000 Received: from relay6.apple.com (a17-128-113-36.apple.com [17.128.113.36]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id j96IUMgf016452; Thu, 6 Oct 2005 11:30:22 -0700 (PDT) Received: from [17.219.211.37] (unknown [17.219.211.37]) by relay6.apple.com (Apple SCV relay) with ESMTP id 0E9664CC; Thu, 6 Oct 2005 11:30:22 -0700 (PDT) Message-ID: <43456D3E.6040705@apple.com> Date: Thu, 06 Oct 2005 18:30:00 -0000 From: Stan Shebs User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.12) Gecko/20050915 MIME-Version: 1.0 To: Kris Warkentin Cc: GDB Subject: Re: [RFC] named thread support References: <4342B076.3000709@qnx.com> In-Reply-To: <4342B076.3000709@qnx.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-10/txt/msg00034.txt.bz2 Kris Warkentin wrote: > Would it be of interest to have a generic 'set threadname > ' that called a target_set_threadname()? I ask because we're > implementing named threads in our kernel but I don't know if many > other systems support this. I can always add it to our backend but if > someone else might use it in the future, I can make it general. This actually was on the wishlist ages ago, ca 1998 or so I think, probably connected with eCos plans. Even a target that didn't support named threads could still make use of the generic capability, for instance via setup scripts - break at a place known unique to a particular thread, get tid, name it, then user and other scripts can reliably use the name. Stan