Memory model for multithreaded C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Memory model for multithreaded C++



< Forward Quoted >

-----
From: Ben Hutchings <ben-public-nospam@xxxxxxxxxxxxxxxxxxxx>
Newsgroups: comp.lang.c++.moderated
Subject: Re: Multithreaded programming: is the C++ standardization committee listening?
Date: 15 Sep 2004 05:57:02 -0400
Message-ID: <slrnckf9h5.pk.ben-public-nospam@xxxxxxxxxxxxxxxxxxxx>
References: ... <41475a8c@xxxxxxxxxxxxxxxxxxxx>
-----

Ben Hutchings wrote:
> 
> Balog Pal wrote:
>  > "Joe Seigh" <jseigh_01@xxxxxxxxxx> wrote in message
>  > news:41463A59.ABB040BD@xxxxxxxxxxxxx
>  >
>  >>    Formal definitions of the memory model were rejected as
>  >> unreadable by the vast majority of programmers.
>  >
>  > DOH
>  >
>  >> I could do a formal specification but I'm not really in a position
>  >> of any kind of authority so there's no point in my doing it, even
>  >> as an academic exercise.
>  >
>  > Of course there is.   C++ needs that formal spec. The to-be-assembled
>  > proposal on thread support must have it. (Hopefully the first move happens
>  > at the recent meeting.)
> 
> The first paper, entitled "Memory model for multithreaded C++", has
> been submitted as N1680.
> 
>  > For a while it may be just a TODO spot, but the sooner it is ready
>  > the better.
> 
> This first paper simply explains why the memory model needs to be
> redefined for multithreaded environments and what sort of special
> operations may be needed.
> 
>  > If you can do it please do, it will not be a wasted work.
> 
> It might be if it's duplicated work.  That's not meant to discourage
> anyone from working on the memory model; just to point out that people
> with experience are already doing so (Doug Lea and Bill Bugh were co-
> authors on both JSR 133 and this paper) and it might be a good idea to
> work with them than separately.
> 
> --
> Ben Hutchings
> If at first you don't succeed, you're doing about average.
> 
>       [ See http://www.gotw.ca/resources/clcm.htm for info about ]
>       [ comp.lang.c++.moderated.    First time posters: Do this! ]

regards,
alexander.