From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11741 invoked by alias); 19 Sep 2012 06:24:07 -0000 Received: (qmail 11732 invoked by uid 22791); 19 Sep 2012 06:24:05 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Sep 2012 06:23:54 +0000 From: "jakub at redhat dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug nptl/12875] pthread_cond_timedwait can steal the wakeup of slower thread in pthread_cond_wait Date: Wed, 19 Sep 2012 06:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: 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-09/txt/msg00164.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12875 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at redhat dot com --- Comment #8 from Jakub Jelinek 2012-09-19 06:23:24 UTC --- (In reply to comment #7) > I admit the test case is poorly written and rather obfuscated, but I believe > that it is showing a bug of this nature. Contrary to yours and Mr. Dreppers > characterizations, this is NOT A FAIRNESS ISSUE. No complaint about fairness > has been made by myself or the original poster of the bug. If the bug really > exists in the described form -- and it seems to me that it does, although I'd > like to find a simpler test case -- then it's an issue of the interface > violating its contract. The testcase doesn't show anything like that, there are absolutely no guarantees that the usleeps result in whatever ordering of events in the threaded program. -- 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.