LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

32 bit ints 32 bit aligned?

I suspect this has been asked many times but I can't find a reference to it ...
 
Does the CVI compiler necessarily align 32 bit ints such that a read/write is known to be atomic?
 
I realize there are issues for ints within structs, I'm interested in simple (non-agregate) int declarations.
 
I.e.  Do I need to use SDK interlocked increment / decrement to guarantee atomicity on read / write of a 32 bit int on an x86 machine?
 
Thanks.
 
Hayes
0 Kudos
Message 1 of 1
(2,405 Views)