1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00

Return result of lock re-get if it fails.

This commit is contained in:
Ulrich Drepper
2003-03-12 08:41:10 +00:00
parent d63609a7b6
commit a3cd7da30f

View File

@@ -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. */