Is there a (rather simple) way of using he experimental threading support
people have been working on lately to build GCC 4.6? I'm attempting to start
new build now that the 4.6 mingw64 bug and the one that affected Qt have
been fixed. Thanks!
From: K. Frank <kfrank29.c@gm...> - 2010-12-11 22:18:50
Hi Ruben -
On Sat, Dec 11, 2010 at 5:54 AM, Ruben Van Boxem
> Is there a (rather simple) way of using he experimental threading support
> people have been working on lately to build GCC 4.6?
I'd be happy to tell you anything you'd like to know about what
I've done with threading and mingw, although I'm not sure that
it's relevant to what you're trying to do.
> I'm attempting to start
> new build now that the 4.6 mingw64 bug and the one that affected Qt have
> been fixed.
Are you trying to build a version of the compiler that offers
experimental threading support, in that it will compile (and
link) programs that use experimental threading?
What I've done is build mingw support for gcc's experimental
implementation of std::thread in the new c++0x standard.
Note, my work was narrowly focused on std::thread, so I
have not implemented the "full gthreads api" (not that I know
of any well-defined specification for the "full gthreads api").
If you're looking to produce a build of mingw-w64 that supports
c++0x std::thread out of the box, I would be happy to share
with you my implementation. I don't think it would be too hard
to integrate it with the mingw-w64 code base.
If you're looking to do something else, it's not so likely that
std::thread stuff will be relevant.
Thanks to you for your builds, and good luck.