From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84336 invoked by alias); 16 Mar 2019 07:46:05 -0000 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 Received: (qmail 84321 invoked by uid 89); 16 Mar 2019 07:46:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1112, his X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (209.51.188.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 16 Mar 2019 07:46:03 +0000 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5413-0004oP-EJ; Sat, 16 Mar 2019 03:46:01 -0400 Received: from [176.228.60.248] (port=2326 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h5411-0004Va-ML; Sat, 16 Mar 2019 03:46:01 -0400 Date: Sat, 16 Mar 2019 07:46:00 -0000 Message-Id: <83bm2bz2hi.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey CC: gdb-patches@sourceware.org In-reply-to: <87mulvvhs9.fsf@tromey.com> (message from Tom Tromey on Fri, 15 Mar 2019 17:28:54 -0600) Subject: Re: [RFC 0/6] Demangle minimal symbol names in worker threads References: <20190309172300.2764-1-tom@tromey.com> <83tvgb7we9.fsf@gnu.org> <87ef7d8298.fsf@tromey.com> <83lg1k4vhx.fsf@gnu.org> <83muly3htw.fsf@gnu.org> <87mulvvhs9.fsf@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00329.txt.bz2 > From: Tom Tromey > Cc: tom@tromey.com, gdb-patches@sourceware.org > Date: Fri, 15 Mar 2019 17:28:54 -0600 > > >>>>> "Eli" == Eli Zaretskii writes: > > Eli> This is still true. We could detect at configure time that > Eli> std::thread isn't supported and revert to serial alternative code > Eli> instead. Is that reasonable? > > Yeah, I think it's not too hard to do this. Then I think this would be a good way forward in the shirt run. > Eli> If that is deemed too much of a > Eli> maintenance burden, I could perhaps, with some guidance, implement a > Eli> simple replacement using Win32 primitives, if all we need is to start > Eli> a thread and then do the thread-join thing. > > It seems like it would be good for mingw, and maybe even mingw-64, if > somebody wrote a Windows API port of the libstdc++ thread primitives. > Jonathan Wakely sent me his patches for the start of one, I can forward > them if you're interested. Please do, I will take a look. (No promises yet until I've seen the code, sorry ;-)