mirror of git://sourceware.org/git/glibc.git
Fix pthread_cond_timedwait error handling on old kernels.
This commit is contained in:
parent
b2509a1e38
commit
f1adf1f490
|
|
@ -1,3 +1,8 @@
|
||||||
|
2009-07-23 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Fix error
|
||||||
|
path when not using absolute timeout futex.
|
||||||
|
|
||||||
2009-07-20 Ulrich Drepper <drepper@redhat.com>
|
2009-07-20 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Minor
|
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Minor
|
||||||
|
|
|
||||||
|
|
@ -551,12 +551,12 @@ __pthread_cond_timedwait:
|
||||||
jne 53b
|
jne 53b
|
||||||
|
|
||||||
cmpq 24(%rsp), %r9
|
cmpq 24(%rsp), %r9
|
||||||
jbe 45b
|
jbe 15f
|
||||||
|
|
||||||
cmpq %rax, %r9
|
cmpq %rax, %r9
|
||||||
ja 39b
|
ja 39b
|
||||||
|
|
||||||
cmpq $-ETIMEDOUT, %r14
|
15: cmpq $-ETIMEDOUT, %r14
|
||||||
jne 8b
|
jne 8b
|
||||||
|
|
||||||
jmp 99b
|
jmp 99b
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue