On 07/22/2015 03:46 AM, Karlsson & Wang wrote:
> I have not followed the discussion but "volatile" keyword for variables might 
> help. It will not force atomic operations but it will force a real read or 
> write probably with correct order. The compiler usually output warnings about 
> ordering not defined then accessing several "volatile" variables on the same 
> row.

Modern optimizing compilers will probably not read and right in the 
order you want.

If you need somthing else you'll need to give it constraints.

-- 
Chris Lesiak
Principal Design Engineer, Software
LI-COR, Inc.
[email protected]

Any opinions expressed are those of the author and
do not necessarily represent those of his employer.


------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to