[BZ #2526, BZ #3138, BZ #3143]
[platform/upstream/glibc.git] / nptl / ChangeLog
index edc668c..6c7fd49 100644 (file)
@@ -1,11 +1,26 @@
+2006-09-12  Ulrich Drepper  <drepper@redhat.com>
+
+       * tst-cond22.c (tf): Slight changes to the pthread_cond_wait use
+       to guarantee the thread is always canceled.
+
+2006-09-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * tst-cond22.c: Include pthread.h instead of pthreadP.h.
+       Include stdlib.h.
+       * sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Only
+       increase FUTEX if increasing WAKEUP_SEQ.  Fix comment typo.
+       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
+       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
+                                                       
 2006-09-08  Ulrich Drepper  <drepper@redhat.com>
 
        [BZ #3123]
        * sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Don't
        increment WAKEUP_SEQ if this would increase the value beyond TOTAL_SEQ.
-       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.c: Likewise.
-       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.c: Likewise.
-       * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.c: Likewise.
+       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
+       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
        * Makefile (tests): Add tst-cond22.
        * tst-cond22.c: New file.