about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-03-17 10:16:36 +0000
committerUlrich Drepper <drepper@redhat.com>2003-03-17 10:16:36 +0000
commit5778033ffc5964450a20469a142202b5fdda36da (patch)
treee514b63668c382ac1d0a4c5bb3cb198fae6b3949 /nptl
parent46a32546c924213322a0d0d5b6d636d2f58094c0 (diff)
downloadglibc-5778033ffc5964450a20469a142202b5fdda36da.tar.gz
glibc-5778033ffc5964450a20469a142202b5fdda36da.tar.xz
glibc-5778033ffc5964450a20469a142202b5fdda36da.zip
Update.
	* localedata/en_ZA: Changed %x for LC_TIME to use dd/mm/ccyy.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog12
-rw-r--r--nptl/DESIGN-condvar.txt2
2 files changed, 13 insertions, 1 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 45ecd028b0..03c461222a 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,11 @@
+2003-03-17  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/pthread/pthread_cond_wait.c: Correct exit criteria.
+	* sysdeps/pthread/pthread_cond_timedwait.c: Likewise.
+	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
+	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
+	Patch by Ewald Snel <ewald@rambo.its.tudelft.nl>.
+
 2003-03-16  Roland McGrath  <roland@redhat.com>
 
 	* tst-fork4.c: Include <string.h>.
@@ -7,6 +15,10 @@
 
 2003-03-16  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S
+	(__lll_mutex_timedlock_wait): Correct expected value after
+	spurious wakeup.  Otherwise we would never wait again.
+
 	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Work around red
 	zone versus inline asm stupidity.  Use correct instructions.
 
diff --git a/nptl/DESIGN-condvar.txt b/nptl/DESIGN-condvar.txt
index 7202e414ef..4a8212bae1 100644
--- a/nptl/DESIGN-condvar.txt
+++ b/nptl/DESIGN-condvar.txt
@@ -65,7 +65,7 @@ cond_timedwait(cv, mutex, timeout):
 
      val = cv->wakeup_seq;
 
-     if (cv->woken_seq >= seq && cv->woken_seq < val) {
+     if (val > seq && cv->woken_seq < val) {
        ret = 0;
        break;
      }