From 644eff0c9fde2da05a4edcbe49d27f528286a887 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 13 Aug 2004 05:42:43 +0000 Subject: Update. 2004-08-10 GOTO Masanori * locale/C-time.c: Change default ERA value from NULL to "". * locale/tst-C-locale.c: Add test case for ERA keywords. --- nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c') diff --git a/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c b/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c index 62f3e23248..80ea83a3dd 100644 --- a/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c +++ b/nptl/sysdeps/pthread/pthread_rwlock_timedrdlock.c @@ -119,6 +119,8 @@ pthread_rwlock_timedrdlock (rwlock, abstime) /* Get the lock. */ lll_mutex_lock (rwlock->__data.__lock); + --rwlock->__data.__nr_readers_queued; + /* Did the futex call time out? */ if (err == -ETIMEDOUT) { -- cgit 1.4.1