(__pthread_cond_signal): Use correct futex pointer in
	__lll_mutex_lock_wait call.

	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
This commit is contained in:
Ulrich Drepper 2003-06-09 22:49:50 +00:00
parent b17203463d
commit 5b318f8556
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2003-06-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Use correct futex pointer in
__lll_mutex_lock_wait call.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Some more tweaks to handle cond_lock!=0.

View File

@ -108,9 +108,9 @@ __pthread_cond_signal:
/* Initial locking failed. */
1:
#if cond_lock == 0
movl %ebx, %ecx
movl %edi, %ecx
#else
leal cond_lock(%ebx), %ecx
leal cond_lock(%edi), %ecx
#endif
call __lll_mutex_lock_wait
jmp 2b