summaryrefslogtreecommitdiff
path: root/nptl/DESIGN-condvar.txt
diff options
context:
space:
mode:
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 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;
}