[PATCH] Add compiler barriers around modifications of the robust mutex list for pthread_mutex_trylock.
Stefan Liebler
stli@linux.ibm.com
Wed Feb 6 11:25:00 GMT 2019
On 02/06/2019 08:02 AM, Florian Weimer wrote:
> * Stefan Liebler:
>
>> * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
>> Add compiler barriers and comments.
>
> Please file a bug on sourceware.org and reference it in the commit.
> Thanks.
>
> Florian
>
Okay. I've filed the following bug:
"Bug 24180 - pthread_mutex_trylock does not use the correct order of
instructions while maintaining the robust mutex list due to missing
compiler barriers."
https://sourceware.org/bugzilla/show_bug.cgi?id=24180
More information about the Libc-alpha
mailing list