From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19319 invoked by alias); 16 Feb 2012 17:05:36 -0000 Received: (qmail 19307 invoked by uid 22791); 16 Feb 2012 17:05:34 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,SUBJ_OBFU_PUNCT_FEW,TW_RW X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Feb 2012 17:04:35 +0000 From: "chrubis at suse dot cz" To: glibc-bugs@sources.redhat.com Subject: [Bug nptl/13701] New: pthread_rwlock_rdlock & realtime scheduling writer lock precedence Date: Thu, 16 Feb 2012 17:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chrubis at suse dot cz X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00146.txt.bz2 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.