News for hackers. Stuff that matters.
Re:No Sane Compiler Would Optimize Atomics by the8472 on Saturday May 14, 2016 @04:11AM (#11695062)
We already have volatile for "yes, please do this as two separate increments, don't coalesce them". And atomics give you ordering guarantees and mappings to atomic instructions. And fence methods give you full fences where needed.

So we already have all those things you might need, they just got decomposed into different aspects that can be applied separately.

There are no comments on this comment yet.