diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-12-08 03:13:06 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-12-08 03:13:06 +0000 |
commit | 09efc3ba1269f79b78ee0724501fc762c2d5ab49 (patch) | |
tree | 840ca5c526b221f3510f23b1f17c9e379b84129f /nptl/pthread_cond_wait.c | |
parent | 6ccb3834ebf1cb65d180144442a68cd1c24f1dd5 (diff) | |
download | glibc-09efc3ba1269f79b78ee0724501fc762c2d5ab49.tar glibc-09efc3ba1269f79b78ee0724501fc762c2d5ab49.tar.gz glibc-09efc3ba1269f79b78ee0724501fc762c2d5ab49.tar.bz2 glibc-09efc3ba1269f79b78ee0724501fc762c2d5ab49.zip |
Update.
2002-12-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
Diffstat (limited to 'nptl/pthread_cond_wait.c')
-rw-r--r-- | nptl/pthread_cond_wait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_cond_wait.c b/nptl/pthread_cond_wait.c index 37c5ffe846..0e3e87fd61 100644 --- a/nptl/pthread_cond_wait.c +++ b/nptl/pthread_cond_wait.c @@ -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); |