mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-11 12:50:58 +08:00
Return result of lock re-get if it fails.
This commit is contained in:
parent
d63609a7b6
commit
a3cd7da30f
@ -206,14 +206,15 @@ __pthread_cond_timedwait:
|
||||
call __pthread_mutex_lock_internal
|
||||
addl $36, %esp
|
||||
|
||||
movl %esi, %eax
|
||||
/* We return the result of the mutex_lock operation if it failed. */
|
||||
testl %eax, %eax
|
||||
cmovel %esi, %eax
|
||||
|
||||
18: popl %ebx
|
||||
popl %esi
|
||||
popl %edi
|
||||
popl %ebp
|
||||
|
||||
/* We return the result of the mutex_lock operation. */
|
||||
ret
|
||||
|
||||
/* Initial locking failed. */
|
||||
|
Loading…
Reference in New Issue
Block a user