2 ms·
A problem identified in the article is that if you access a word-size object, your compiler may use a load or store of some different size, violating your assum
by klodolph 3y ago
A problem identified in the article is that if you access a word-size object, your compiler may use a load or store of some different size, violating your assumptions about atomicity. This is not just about ISAs.
The example cited was in a library written in C.
- loeg 3y agoYeah. FreeBSD requires its C compiler not to do that, essentially.