Re: Support for std::thread in libstdc++

Keith Marshall <[email protected]>
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
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

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJch33HAAoJEMCtNsY0flo/ZfEQALNYIdfgsI6Q4cfn9RC+s5Ls
b00+vPPoqsVdmGwPa8LGR2Nq7B3x4UHTFTPwGpKuPsefoOw89IOQVUB9f5bedDU1
YbY04GP3O6wWRKpARva180rOxC8RAsoqsSjWFkn44paUkFmqLAbw9QmpmnV6IP/m
XqAAXF8PSM2bEBKME2uTu/7D8YvjCdoj7xktLuxWHCxWgiDNAHGTby+cIPQcEsNZ
jbGWYX7uF4cJPQKMiet0iXvmAlHPt8DHGOpGvJ3wZzQOQR9CmI6nuxC0QaIqb2il
RSDgvOz5j573SnByQzMf62yJr6KS+2EMc8NQd//640NfjaadVP9EO5Eg25+yfogv
TmfJ0dO1FoKeWtJ1QwgEhtWbKfTOstS4oKbQSyVcxINZu5zL5CScNYKoJdI/TRNr
l2hyzLaS9YgpSugBWGOrBWHZodiAJqqRBFGlXvTqde24BYzEXzIiUi1cvd59O1Ra
+uvX1AI2O2x4Xig7+ZfhWPJ3ydgWZiWMDpb0UCs0YHqnBExe1qwUShoqrh6+eekd
QmZStNBOIGEgom0tVaWcEPw1S6uZB1xC5WFKpJlnNFKFoeCa87SP0kX6UxYvpqNN
5j86Y5drUYffiui45/QrcMQ1ZxXjLmn7i0TVR8m8+S4Nlb3vxngCaCZE+50sinOo
0w/po5i1s86kIL8gGwwE
=bIZ0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.