diff options
author | 2015-04-28 23:24:36 +0200 | |
---|---|---|
committer | 2015-06-04 15:34:30 +0200 | |
commit | b634486d57a14b53f1cfcf739e41ddf826e51977 (patch) | |
tree | 65ad6788da14adc8effdd9d1b4236ac24af710d7 /sysdeps/unix/sysv/linux/waitpid.c | |
parent | Fix lost wake-up when pthread_rwlock_timedrwlock times out. (diff) | |
download | glibc-b634486d57a14b53f1cfcf739e41ddf826e51977.tar.xz glibc-b634486d57a14b53f1cfcf739e41ddf826e51977.zip |
Fix missing wake-ups in pthread_rwlock_rdlock.
This adds wake-ups that would be missing if assuming that for a
non-writer-preferring rwlock, if one thread has acquired a rdlock and
does not release it, another thread will eventually acquire a rdlock too
despite concurrent write lock acquisition attempts. BZ 14958 is about
supporting this assumption. Strictly speaking, this isn't a valid
test case, but nonetheless worth supporting (see comment 7 of BZ 14958).
Diffstat (limited to 'sysdeps/unix/sysv/linux/waitpid.c')
0 files changed, 0 insertions, 0 deletions