delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/09/01/12:10:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=DOSnHb
MrwlKO3KdHhrzfGFIMoD/3oGACilVKddpf0FhdNN2/jOEQ3/Zo5TAhAEoylt0GAI
Y+f8Prf8gfso3vNWgD1381FYIgK743CGS2fi0e7WYbKKI3gIq9YRj7xowCn7uubK
2kiclacPpBBTHS8de8WLimWEUt8SHaqP4FfM8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type; s=default; bh=35ACLyhVoCL9
qRMB5xXaS2m6X20=; b=tHQxlQCC5X0AY3yoF38RPAX67ZSaCQf6MoGXEgd/I8Gn
XxYda8XxHHpV+q5jEPRcSOFInhZIL/2s5Q2x/zOjCLDjcyi/VmVrbHrN3zXIRJwv
LIoQqmEs6kETX7LbV2EBuIIIj4jMa94R2EHpDf25fDcKgjsHPe1bFYMzRE1f3Zs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,FREEMAIL_FROM,KHOP_PGP_SIGNED,KHOP_THREADED autolearn=ham version=3.3.2
X-HELO: mail-pa0-f44.google.com
X-Received: by 10.66.189.194 with SMTP id gk2mr1355062pac.166.1378051829662; Sun, 01 Sep 2013 09:10:29 -0700 (PDT)
Message-ID: <522366DF.9080809@gmail.com>
Date: Mon, 02 Sep 2013 00:10:07 +0800
From: JonY <10walls AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: c++11 threading support in mingw-w64 package
References: <5223244C DOT 1020705 AT gmail DOT com>
In-Reply-To: <5223244C.1020705@gmail.com>
X-IsSubscribed: yes

--t11hcKsPnc5CXNk26VtNWD1CfM1sOUSW8
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: quoted-printable

On 9/1/2013 19:26, nu774 wrote:
> It seems that mingw64-*-gcc-g++ package is not compiled with
> --enable-pthread, that results in no c++11 threading support.
> Is it intentional, or is it possible to enable it?
> As far as I understand, c++11 threading support can be enabled by
> libwinpthread of mingw-w64 project + gcc configuration switch.
>=20

You can enable it yourself, however this means all code will require
libwinpthread, regardless of whether you actually used any pthread code.
I'm not sure if users will appreciate it.

> Since libwinpthread is already included in mingw64 package, I think
> --enable-pthread --enable-libstdcxx-threads --enable-libstdcxx-time=3Dyes
> will be enough to support c++11 threading.
>=20

Please rebuild it yourself. Keep in mind that it is not compatible with
the other mingw-w64 binary packages.

Alternatively, you can just use boost.



--t11hcKsPnc5CXNk26VtNWD1CfM1sOUSW8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)

iQIcBAEBAgAGBQJSI2brAAoJEHE7X+KcFF1Fim4P/3uepN68C4QwBQRkCSuW+QnI
KKFSqwtEkbnqwz6aGjZb0OpDinIjhKJiJNfWGpa5QHDKwWD19V9YCAxfYu30Owlo
1Ja2wJAr+IaLlvSiZZhPEyTneJm3iXmEvbN1vXwCvLwtROnhEQfgxNKqpNMZq4YC
F+k+tlqcO4flQWVpKXLdW+7xtx9+hCzoWO0+zb3psK3ufNFLXx6Fe+3NCZOw6nb3
voKtWJZsyu9hBW+mhYvFlqE2Fyahcn10140YIo4IAsrN1mwzAJF3tax7lWicNN9F
BHcJwtbhdZy365mATRrLnwklnneCTjmLqjOuAu/4S92PpgzowwAxIW4XL0omDWaX
WYXUJ+bpigLu372gPNug6ED/JbO9i8QLhkgtqZd6wNKt3BPkm5UdgfSi6oLljyVr
jzwJIkY6/RWr2CFe3ldWEthAqM2NHYpz0briVE8p6DGDy+WGWCKtUhZIUReVENDv
O3UX0Qz0lLS+qL1zeRyOGgLXhZ0DKIMAcnRGexb/VLz9LR5KWfBcRTvli4bGux+z
oSokakvFvJjXSLjp93EbyaZ/WN5o95NfYyJe//VvMYKfg+Lruyav/GlOgk2qXJPW
bSg3vrLzlKhffKHTvb38NPB0GQQPcP/ssmEr57NoqDFfJoy4bBO7HMeYreQ0aEEE
VuXvk+FaHKxp9+j5CvZh
=4WFo
-----END PGP SIGNATURE-----

--t11hcKsPnc5CXNk26VtNWD1CfM1sOUSW8--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019