aboutsummaryrefslogtreecommitdiff
path: root/nptl/DESIGN-condvar.txt
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-01 08:47:37 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-01 08:47:37 +0000
commitcff08c81107ae1c8b1581b5e0a534938fd67fc45 (patch)
treeec76e6e96ba1b0f8695796be0a9d8e63bd193052 /nptl/DESIGN-condvar.txt
parentb7fe377cbaef61115deb7dbac1b92eb41e07f380 (diff)
downloadglibc-cff08c81107ae1c8b1581b5e0a534938fd67fc45.zip
glibc-cff08c81107ae1c8b1581b5e0a534938fd67fc45.tar.gz
glibc-cff08c81107ae1c8b1581b5e0a534938fd67fc45.tar.bz2
Update.
2004-03-01 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): Optimize wakeup test. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S (__pthread_cond_wait): Likewise. * sysdeps/pthread/pthread_cond_wait.c (__pthread_cond_wait): Likewise. * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
Diffstat (limited to 'nptl/DESIGN-condvar.txt')
-rw-r--r--nptl/DESIGN-condvar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/DESIGN-condvar.txt b/nptl/DESIGN-condvar.txt
index 4a8212b..cb0f59c 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 (val > seq && cv->woken_seq < val) {
+ if (val != seq && cv->woken_seq != val) {
ret = 0;
break;
}