Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2011 17:31:57 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Niall Douglas <s_sourceforge@nedprod.com>
Cc:        threads@freebsd.org, arch@freebsd.org
Subject:   Re: [Patch] C1X threading support
Message-ID:  <Pine.GSO.4.64.1112191730110.25434@sea.ntplx.net>
In-Reply-To: <4EEF9235.31023.B2519C9A@s_sourceforge.nedprod.com>
References:  <20111216214913.GA1771@hoeg.nl> <4EEF9235.31023.B2519C9A@s_sourceforge.nedprod.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Dec 2011, Niall Douglas wrote:

> 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.

And why on earth would the thought of having a threading API
significantly different from the POSIX API even be on the
table?  It boggles the mind.

--
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1112191730110.25434>