3 ms·
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 ato
by the8472 11y ago
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.