This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/4979] pthread rwlock writer starvation - bad initializer, bad rdlock code
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Sep 2007 13:58:25 -0000
- Subject: [Bug nptl/4979] pthread rwlock writer starvation - bad initializer, bad rdlock code
- References: <20070829163806.4979.bruce.gayliard@hp.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2007-09-19 13:58 -------
AFAIK POSIX just sais that implementations may favor writers over readers,
it doesn't say they must, so the choice of the default (or even the existance
of different rwlock policies) is implementation choice.
This default has never changed in NPTL, you are probably confused by using
LinuxThreads headers in earlier glibc versions. LinuxThreads used to
default to PREFER_WRITER, but never so in NPTL.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4979
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.