[cpp-threads] modes, pass 2

Alexander Terekhov alexander.terekhov at gmail.com
Mon May 9 13:36:01 BST 2005


On 5/9/05, Doug Lea <dl at cs.oswego.edu> wrote:

[... isync ...]

> Even if that's so, then you should still be able to use isync
> in combination with some form of the "if (x == x)" trick?

You mean placing isync after "branch never taken"? My understaing 
is that it (akin to B.2.3 Safe Fetch from Book II) will order only 
load access to x with respect to subsequent loads (and stores). 

Classic #loadload is supposed to do more, oder?

regards,
alexander.




More information about the cpp-threads mailing list