summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorTorvald Riegel <triegel@redhat.com>2015-04-21 20:34:21 +0200
committerTorvald Riegel <triegel@redhat.com>2015-06-04 15:31:59 +0200
commit3c9c61febede148b79d8509e16588152d99b3774 (patch)
tree883d4c88b3ca19506e9449132bfe2c93b0798269 /ChangeLog
parentda7f049cad943629f16cd6e533214955edfd511d (diff)
downloadglibc-3c9c61febede148b79d8509e16588152d99b3774.tar.gz
glibc-3c9c61febede148b79d8509e16588152d99b3774.tar.xz
glibc-3c9c61febede148b79d8509e16588152d99b3774.zip
Fix lost wake-up when pthread_rwlock_timedrwlock times out.
If we set up a rwlock to prefer writers (and disallow recursive rdlock
acquisitions), then readers will block for writers that are blocked to
acquire the lock (otherwise, readers could constantly enter and exit,
and the writer would never get the lock).  However, the existing
implementation did not wake such readers when the writer timed out.
This patch adds the missing wake-up.
There's no similar case for writers being blocked on readers.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e0e6d6b210..423ccea936 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-06-04  Torvald Riegel  <triegel@redhat.com>
+
+	[BZ #18324]
+	* nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
+	missing wake-up of readers.
+	* nptl/tst-rwlock15.c: New file.
+	* nptl/Makefile (tests): Add new test.
+
 2015-06-03  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.