This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/13701] New: pthread_rwlock_rdlock & realtime scheduling writer lock precedence
- From: "chrubis at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 16 Feb 2012 17:03:06 +0000
- Subject: [Bug nptl/13701] New: pthread_rwlock_rdlock & realtime scheduling writer lock precedence
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13701
Bug #: 13701
Summary: pthread_rwlock_rdlock & realtime scheduling writer
lock precedence
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: nptl
AssignedTo: drepper.fsp@gmail.com
ReportedBy: chrubis@suse.cz
Classification: Unclassified
The pthread_rwlock_rdlock() together with thread scheduling priority set to
SCHED_FIFO or SCHED_RR should prefer writer locks. This doesn't seem to work,
at least corresponding LTP test fails and I couldn't find anything wrong about
it.
The corresponding test source:
http://ltp.git.sourceforge.net/git/gitweb.cgi?p=ltp/ltp.git;a=blob;f=testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/2-1.c
The corresponding POSIX definition:
http://pubs.opengroup.org/onlinepubs/007904975/functions/pthread_rwlock_rdlock.html
The original SUSE bug:
https://bugzilla.novell.com/show_bug.cgi?id=66013
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.