[Mingw-users] Support for std::thread in libstdc++

Zurück zum Archiv-Index
Keith Marshall keith****@users*****
Tue Mar 12 18:37:10 JST 2019


On 12/03/19 03:35, Eli Zaretskii wrote:
> Does anyone know what is the status of std::thread support in MinGW
> libstdc++?  Is it workable?

I believe that the official line, from upstream GCC, is that it is
unsupported, but you'll really need to confirm that with them.

> I'm asking because GDB developers are considering using that for
> speeding up some symbol-table reading operations, and I've heard in
> the past that std::thread doesn't work in MinGW.

My understanding is that it will not work with the windows thread model,
(which is what current MinGW-GCC is built to deploy.  It may be possible
to get it to work, if the compiler is built for the POSIX thread model,
but we don't do that ATM, and I'm not certain if it would be reliable if
we were to change that policy.

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20190312/cac2a27d/attachment.sig>


More information about the MinGW-Users mailing list
Zurück zum Archiv-Index