This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/4512] robust mutex does not work if owner died with multiple waiters
- From: "anemo at mba dot ocn dot ne dot jp" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 May 2007 06:12:52 -0000
- Subject: [Bug nptl/4512] robust mutex does not work if owner died with multiple waiters
- References: <20070516065859.4512.anemo@mba.ocn.ne.jp>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From anemo at mba dot ocn dot ne dot jp 2007-05-16 07:12 -------
Created an attachment (id=1843)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1843&action=view)
proposed fix
pthread_mutex_lock (and pthread_mutex_timedlock) blindly clear FUTEX_WAITERS
bit when becoming a new owner.
I think this is a reason why other waiters are never woken.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4512
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.