From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80244 invoked by alias); 20 May 2015 16:56:46 -0000 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 Received: (qmail 80164 invoked by uid 55); 20 May 2015 16:56:42 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/18435] pthread_once hangs when init routine throws an exception Date: Wed, 20 May 2015 16:56: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-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg00184.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18435 --- Comment #4 from joseph at codesourcery dot com --- On Wed, 20 May 2015, msebor at redhat dot com wrote: > Thanks for the reference to the POSIX issue. I admit I was initially also > skeptical that this use case was intended to be supported by POSIX but became > convinced after reading the following quotes from the spec: > > http://permalink.gmane.org/gmane.comp.lib.boost.devel/128855 > > It seems clear that POSIX not only intends to support such a use case (of > pthread_cleanup_push/pop) but even encourages exception-aware implementations > (referring to them as "the ideal solution"). You should be skeptical that wording inherited more or less unchanged from the rationale in the 1995/6 edition of POSIX.1 is particularly relevant to what's ideal in 2015, especially given that the then-anticipated rework of POSIX into a language-independent specification with separate C language bindings never materialized. -- You are receiving this mail because: You are on the CC list for the bug.