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_timedwait.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_timedwait.c')
-rw-r--r-- | nptl/pthread_cond_timedwait.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/pthread_cond_timedwait.c b/nptl/pthread_cond_timedwait.c index 826d16fb02..b88d11d224 100644 --- a/nptl/pthread_cond_timedwait.c +++ b/nptl/pthread_cond_timedwait.c @@ -40,7 +40,7 @@ pthread_cond_timedwait (cond, mutex, abstime) 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); @@ -61,7 +61,7 @@ pthread_cond_timedwait (cond, mutex, abstime) 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); if (err != 0) /* XXX Unconditionally overwrite the result of the wait? */ result = err; |