Answer by Brian Bi for Atomic load and store with memory order relaxed
As I understand, it is not even guaranteed that I would get that value, just that I will get a value that was stored there at some point in time, but I could always get nullptr.Yes, it's hypothetically...
View ArticleAtomic load and store with memory order relaxed
Everywhere I read I see strong recommendations not to use relaxed memory order, I wonder whether the following piece of code is one of this exceptions in which this will work, or there are any...
View Article
More Pages to Explore .....