mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Update.
2002-12-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
This commit is contained in:
@ -36,7 +36,7 @@ pthread_cond_wait (cond, mutex)
|
||||
lll_mutex_lock (cond->__data.__lock);
|
||||
|
||||
/* Release the mutex. This might fail. */
|
||||
err = pthread_mutex_unlock (mutex);
|
||||
err = INTUSE(__pthread_mutex_unlock) (mutex);
|
||||
if (__builtin_expect (err != 0, 0))
|
||||
{
|
||||
lll_mutex_unlock (cond->__data.__lock);
|
||||
@ -57,7 +57,7 @@ pthread_cond_wait (cond, mutex)
|
||||
lll_mutex_unlock (cond->__data.__lock);
|
||||
|
||||
/* We have to get the mutex before returning. */
|
||||
err = pthread_mutex_lock (mutex);
|
||||
err = INTUSE(__pthread_mutex_lock) (mutex);
|
||||
|
||||
/* Cancellation handling. */
|
||||
CANCELLATION_P (THREAD_SELF);
|
||||
|
Reference in New Issue
Block a user