[cpp-threads] pthreads (was: RE: C++ Connections proposal)

Alexander Terekhov alexander.terekhov at gmail.com
Thu Apr 28 09:32:20 BST 2005


< memory isolation >

On 4/28/05, Doug Lea <dl at cs.oswego.edu> wrote:
> Boehm, Hans wrote:
> > I'd actually like to get more comments on this.  The more I think
> > about this, the less I'm convinced that we should change the proposal.
> 
> I agree with both of these sentiments.

Are you absolutely positively sure that all hardware on which 
threaded C++ is supposed to run can provide required isolation
for

  char[2] a;

  thread 1: a[0] = 1;

  thread 2: a[1] = 2;

without CAS/LL(LR)-SC (that would considerably slow things 
down)?

regards,
alexander.




More information about the cpp-threads mailing list