[cpp-threads] Memory model counterproposal: synchronizedoperations

Nelson, Clark clark.nelson at intel.com
Fri May 27 01:22:03 BST 2005


> It is fairly reasonable to pass the address of a local 
> variable as the 
> argument to the thread function (if the parent then does a 
> join.) Doesn't 
> OpenMP do that all the time? 

Yes, I suppose it does. And my proposal for the C/C++ standard would
invalidate it. But technically, that would be interesting only for
someone who was trying to implement OpenMP in terms of portable C or
C++.

Which may indeed be interesting. I'm just trying to ask the right
questions.

Clark




More information about the cpp-threads mailing list