[Bug nptl/18324] New: Lost wake-up when pthread_rwlock_timedrwlock times out
triegel at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Apr 24 18:37:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=18324
Bug ID: 18324
Summary: Lost wake-up when pthread_rwlock_timedrwlock times out
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: nptl
Assignee: unassigned at sourceware dot org
Reporter: triegel at redhat dot com
CC: drepper.fsp at gmail dot com
If we set up a rwlock to prefer writers (ie,
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP), 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 current implementation does not wake such readers when the writer times
out.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list