Quantcast
Channel: ARM: Is writing/reading from int atomic? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Johan Kotlinski for ARM: Is writing/reading from int atomic?

It should be atomic, EXCEPT if that int is stored on a non-aligned address.

View Article



ARM: Is writing/reading from int atomic?

On ARM architecture, unfortunately I don't know exactly what chip it is, is a 32 bit int read/write atomic?Is there any sort of guarantees about reads/writes to basic types?

View Article
Browsing all 2 articles
Browse latest View live




Latest Images