From owner-freebsd-threads@FreeBSD.ORG Tue Dec 20 19:17:37 2011 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7946B106566C for ; Tue, 20 Dec 2011 19:17:37 +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 04FD08FC22 for ; Tue, 20 Dec 2011 19:17:37 +0000 (UTC) Received: by europe2.nedproductions.biz (Postfix, from userid 1003) id 354879EE241; Tue, 20 Dec 2011 19:17:36 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nedprod.com; s=mail; t=1324408656; bh=7PwCtpKXfe9JICB9QQJoPW3/8FUgHy539JSb5SWRGkQ=; h=From:To:Date:MIME-Version:Subject:Message-ID:In-reply-to: References:Content-type:Content-transfer-encoding: Content-description; b=YVfRAPYmxtO8SFWu0C82vc3qQ4LwzL4BqzmZiJDsHvLZiafsSQsxlP5tKdgh4emhR 5j5+srWXXnv3YU715DnmXkw6T7KLX7o36uWYoRofciWXYrhyFAd9y5EgCkswZrj39l Z1qSm9SNRf4D5oGr8WSnug817gH8nmUl4OmHK7fk= 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 50D749EE241 for ; Tue, 20 Dec 2011 19:17:35 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nedprod.com; s=mail; t=1324408655; bh=7PwCtpKXfe9JICB9QQJoPW3/8FUgHy539JSb5SWRGkQ=; h=From:To:Date:MIME-Version:Subject:Message-ID:In-reply-to: References:Content-type:Content-transfer-encoding: Content-description; b=ySVSKvghFvQPW6A9b8aTkdu2zOarxA8ESZ/QO92OvVU9zk3EGMBaTogjFpImGVUvK BdUE4OPkAJrhaPXpyFAVwiUjOwG80yvESxncuaSdpTFIjZJkxi0alkmLXvGFReKdsW skG3irf8c6uiUkj+Sr5JCapZKWRAaB0KtUzU10/Q= From: "Niall Douglas" To: freebsd-threads@freebsd.org Date: Tue, 20 Dec 2011 19:17:36 -0000 MIME-Version: 1.0 Message-ID: <4EF0DF50.12183.B766CEDD@s_sourceforge.nedprod.com> Priority: normal In-reply-to: References: , <201112201009.25534.jhb@freebsd.org>, X-mailer: Pegasus Mail for Windows (4.62) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body 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: Tue, 20 Dec 2011 19:17:37 -0000 On 20 Dec 2011 at 11:56, Daniel Eischen wrote: > > We could look at adding an _np extension. However, I expect that in practice > > nothing is going to use this API for a long while (if ever). On POSIX systems > > pthreads is going to be more portable and there is a lot of code already > > written to pthreads. > > And that is exactly the point that Butenhof makes in this comment > about the ISO C standard 3 years ago: > > https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=show_archive.tpl&source=L&listname=austin-group-l&id=11671 > > His comments are a good read, and are still being echoed > in this thread. > > I wonder how much the final standard changed from the working > standard to which his comments pertain... I can tell you there was a flurry of activity about six months ago fixing things like using struct timespec which I was very glad about. And certainly the deviances from POSIX in the final spec are minimal compared to what they were. Niall -- Technology & Consulting Services - ned Productions Limited. http://www.nedproductions.biz/. VAT reg: IE 9708311Q. Company no: 472909.