This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] pthread_mutex_unlock: fix wrong assertion with lock elision (bug#19515)
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: libc-alpha at sourceware dot org
- Date: Sat, 23 Jan 2016 23:31:47 +0100
- Subject: Re: [PATCH] pthread_mutex_unlock: fix wrong assertion with lock elision (bug#19515)
- Authentication-results: sourceware.org; auth=none
- References: <1453580875-29240-1-git-send-email-aurelien at aurel32 dot net> <877fj0m0wp dot fsf at igel dot home> <20160123215938 dot GA19589 at aurel32 dot net>
Aurelien Jarno <aurelien@aurel32.net> writes:
> Thanks for the link and sorry for the duplicate bug. While I agree your
> patch is correct to fix the issue, I still believe the assert is wrongly
> accessing the mutex type directly.
It has correctly exposed the bug.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."