ANSI/IEEE POSIX 1003.1 and GCC (+ Other GNU)

Richard Henderson rth@redhat.com
Thu Jan 7 21:06:00 GMT 2010


On 01/07/2010 01:59 AM, Takis Psarogiannakopoulos wrote:
> The right thing to do is use the depth (count above) of the mutex to
> decide if the mutex is free. The owner shoud be valid only if the mutex is
> locked.

I believe the following should fix this for you, at least for libgomp.
If you have a system for which the thread-id 0 is actually used, would
you mind testing it?


r~
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: z
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20100107/8cdb43e2/attachment.ksh>


More information about the Gcc mailing list