diff options
author | Torvald Riegel <triegel@redhat.com> | 2015-04-21 20:34:21 +0200 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2015-06-04 15:31:59 +0200 |
commit | 3c9c61febede148b79d8509e16588152d99b3774 (patch) | |
tree | 883d4c88b3ca19506e9449132bfe2c93b0798269 /NEWS | |
parent | da7f049cad943629f16cd6e533214955edfd511d (diff) | |
download | glibc-3c9c61febede148b79d8509e16588152d99b3774.zip glibc-3c9c61febede148b79d8509e16588152d99b3774.tar.gz glibc-3c9c61febede148b79d8509e16588152d99b3774.tar.bz2 |
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 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -18,8 +18,9 @@ Version 2.22 18020, 18029, 18030, 18032, 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18116, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18217, - 18220, 18221, 18234, 18244, 18247, 18287, 18319, 18333, 18346, 18397, - 18409, 18410, 18412, 18418, 18422, 18434, 18444, 18468, 18469, 18470. + 18220, 18221, 18234, 18244, 18247, 18287, 18319, 18324, 18333, 18346, + 18397, 18409, 18410, 18412, 18418, 18422, 18434, 18444, 18468, 18469, + 18470. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. |