From 09efc3ba1269f79b78ee0724501fc762c2d5ab49 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 8 Dec 2002 03:13:06 +0000 Subject: Update. 2002-12-07 Ulrich Drepper * sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define. --- nptl/pthread_cond_wait.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nptl/pthread_cond_wait.c') 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); -- cgit 1.4.1