public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/13701] New: pthread_rwlock_rdlock & realtime scheduling writer lock precedence
@ 2012-02-16 17:05 chrubis at suse dot cz
  2012-12-19 10:47 ` [Bug nptl/13701] " schwab@linux-m68k.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: chrubis at suse dot cz @ 2012-02-16 17:05 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-28 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-16 17:05 [Bug nptl/13701] New: pthread_rwlock_rdlock & realtime scheduling writer lock precedence chrubis at suse dot cz
2012-12-19 10:47 ` [Bug nptl/13701] " schwab@linux-m68k.org
2013-08-28  6:27 ` vapier at gentoo dot org
2014-04-15  1:18 ` wangxg.fnst at cn dot fujitsu.com
2014-06-26 15:22 ` fweimer at redhat dot com
2015-04-28 20:02 ` triegel at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).