This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/13701] New: pthread_rwlock_rdlock & realtime scheduling writer lock precedence


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]