From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1285 invoked by alias); 26 Apr 2008 16:20:05 -0000 Received: (qmail 1271 invoked by uid 22791); 26 Apr 2008 16:20:04 -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; Sat, 26 Apr 2008 16:19:46 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1) with ESMTP id m3QGH98v013160; Sat, 26 Apr 2008 18:17:10 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.1/8.14.1/Submit) id m3QGH9dv027362; Sat, 26 Apr 2008 18:17:09 +0200 (CEST) Date: Sat, 26 Apr 2008 17:16:00 -0000 Message-Id: <200804261617.m3QGH9dv027362@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: vladimir@codesourcery.com CC: gdb-patches@sources.redhat.com In-reply-to: <200804262005.18646.vladimir@codesourcery.com> (message from Vladimir Prus on Sat, 26 Apr 2008 20:05:17 +0400) Subject: Re: [RFA] Report the main thread. References: <200804262005.18646.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-04/txt/msg00597.txt.bz2 > From: Vladimir Prus > Date: Sat, 26 Apr 2008 20:05:17 +0400 > > Presently, on Linux, we do add the main thread to the thread list, but we > fail to report this new thread to outside world. I think we should not > do any such special-casing -- if we want the =thread-created notification > to be usable as replacement for getting the thread, we better emit that > for all new thread. I disagree. The "main" thread is not a new thread, but has been there all along. Users would be terribly confused you'd report some sort of thread creation event here.