Re: [RFC 0/6] Demangle minimal symbol names in worker threads

Eli Zaretskii
2019-03-16T07:46:05Z

> From: Tom Tromey <tom@tromey.com>
> Cc: tom@tromey.com, gdb-patches@sourceware.org
> Date: Fri, 15 Mar 2019 17:28:54 -0600
>
> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> 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 ;-)