From owner-freebsd-threads@FreeBSD.ORG Mon Dec 19 19:36:24 2011 Return-Path: Delivered-To: threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF6F9106566B; Mon, 19 Dec 2011 19:36:24 +0000 (UTC) (envelope-from s_sourceforge@nedprod.com) Received: from europe2.nedproductions.biz (unknown [IPv6:2a02:748:100:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4252A8FC0C; Mon, 19 Dec 2011 19:36:24 +0000 (UTC) Received: by europe2.nedproductions.biz (Postfix, from userid 1003) id 6F2E69EE476; Mon, 19 Dec 2011 19:36:23 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nedprod.com; s=mail; t=1324323383; bh=1QF4rBK711EZyM5OzxYp09GQQj9AMrVMdAM6ayIdAUE=; h=From:To:Date:MIME-Version:Subject:Message-ID:In-reply-to: References:Content-type:Content-transfer-encoding: Content-description; b=vxTycPicFNep/rmcti0SNE3xN3r1TEH7youbL2gu8ZVl6CElz/qj0GZPSxMYP4F1A oYE8IDXjxsa/k00JLXMm8rKYsP2RyuBNk0xdqLrxnmS/38EUL8c2OqH9baE2T16RCs FAi3WdB88zKDm5Vx5o8w4JjuG3pHiTwx76N7X63c= X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on europe2.nedproductions.biz X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from [192.168.2.8] (dsl-076-041.cust.imagine.ie [87.232.76.41]) by europe2.nedproductions.biz (Postfix) with ESMTPSA id E2F4C9EE473; Mon, 19 Dec 2011 19:36:21 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nedprod.com; s=mail; t=1324323382; bh=1QF4rBK711EZyM5OzxYp09GQQj9AMrVMdAM6ayIdAUE=; h=From:To:Date:MIME-Version:Subject:Message-ID:In-reply-to: References:Content-type:Content-transfer-encoding: Content-description; b=Ti3NoZobz6rTyqmTioRZQaxd7qRLZdxVEiVLXdxCyfmgnmaSdIgvvwlT1toKPgJdG Hf25zcHG/OHEspb56Q948dfogHaFnwjDA1uNbOznCSsrRMUasKKlKf3j1CEz8XzqLC Kq9LNp4Tyt7RXVbgiVLYBKk4lsOO1QIYKOwe2ruI= From: "Niall Douglas" To: threads@freebsd.org, arch@freebsd.org Date: Mon, 19 Dec 2011 19:36:21 -0000 MIME-Version: 1.0 Message-ID: <4EEF9235.31023.B2519C9A@s_sourceforge.nedprod.com> Priority: normal In-reply-to: <20111216214913.GA1771@hoeg.nl> References: <20111216214913.GA1771@hoeg.nl> X-mailer: Pegasus Mail for Windows (4.62) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Cc: Subject: Re: [Patch] C1X threading support X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 19:36:24 -0000 On 16 Dec 2011 at 22:49, Ed Schouten wrote: > In my opinion the ISO folks suffer a bit from the Not Invented Here > syndrome. In an earlier revision of the C1X specification, they even > described a `struct xtime', which had a purpose identical to `struct > timespec'. The same holds for the threading API. It can be 1:1 mapped to > a subset of pthread -- why not simply standardize that subset then? As someone who sits on said committees, I can tell you that the reason why was because at the beginning it was thought that the C1X threading API would diverge significantly from the POSIX API. Indeed, early drafts of the standard had quite a number of changes. However, just recently almost all of those changes have been excised due to pressures from the system vendors and the C++ committee who came in quite late on wanting feature parity between the two, and C++ had chosen a specific subset of POSIX rather than doing anything to try and fix its known problems. Obviously, had we known that from the beginning, things would have been done differently. However, there was - in hindsight - a lack of realisation just how expensive any significant changes would appear to vendors. Niall -- Technology & Consulting Services - ned Productions Limited. http://www.nedproductions.biz/. VAT reg: IE 9708311Q. Company no: 472909.