This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/5240] Pthread hang where there are still waiters when mutex is in "unlocked" state.
- From: "rsa at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 9 Nov 2007 13:54:08 -0000
- Subject: [Bug nptl/5240] Pthread hang where there are still waiters when mutex is in "unlocked" state.
- References: <20071101170311.5240.rsa@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From rsa at us dot ibm dot com 2007-11-09 13:54 -------
Thanks Ulrich, for future reference:
"(__lll_timedlock_wait): If we time out, try one last time to lock the
futex to avoid losing a wakeup signal."
lowlevellock.c
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/unix/sysv/linux/lowlevellock.c.diff?cvsroot=glibc&r1=1.17&r2=1.18
i386/lowlevellock.S
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S.diff?cvsroot=glibc&r1=1.19&r2=1.20
x86_64/lowlevellock.S
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S.diff?cvsroot=glibc&r1=1.21&r2=1.22
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5240
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.