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

Tom Tromey
2019-03-15T23:28:58Z

>>>>> "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.

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.

Tom