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

Boehm, Hans hans.boehm at hp.com
Fri Apr 29 00:23:54 BST 2005


> -----Original Message-----
> From: Alexander Terekhov
> 
> 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)?
> 
No.  Which is why we need feedback.  But I know of none that can't.

I am positive that all hardware that can run Java 1.5/5 efficiently
can do this.  I think the same holds for .NET.

Thus I'm also pretty sure that every future general purpose processor
will be able to do this.

Hans




More information about the cpp-threads mailing list