This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Gthreads patch to disable static initializer macros
On 6 February 2012 19:24, Mike Stump wrote:
> On Feb 5, 2012, at 12:26 PM, Jonathan Wakely wrote:
>> PRs libstdc++/51296 and libstdc++/51906 are both caused by problems
>> with the Pthreads static initializer macros such as
>> PTHREAD_MUTEX_INITIALIZER.
>
>> On Mac OS X 10.7 the PTHREAD_RECURSIVE_MUTEX_INITIALIZER is buggy.
>
> Thanks for all you work on this.
Well I broke it so I had to fix it ;)
I'm pleased to say we should now have an almost complete C++11 thread
implementation for most POSIX platforms, with hundreds of existing
libstdc++ tests moving from UNSUPPORTED to PASS on some secondary
platforms (aix and darwin, maybe hpux too.)