This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/5240] Pthread hang where there are still waiters when mutex is in "unlocked" state.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]