6 ms·
write with release semantic cannot be reordered with any other writes, dependent or not. Relaxed atomic writes can be reordered in any way.
by blacklion 6mo ago
write with release semantic cannot be reordered with any other writes, dependent or not.
Relaxed atomic writes can be reordered in any way.
- loeg 6mo ago> write with release semantic cannot be reordered with any other writes, dependent or not. To quibble a little bit: later program-order writes CAN be reordered before release writes. But earlier program-order writes may not be reordered after release writes. > Relaxed atomic writes can be reordered in any way. To quibble a little bit: they can't be reordered with other operations on the same variable.
- blacklion 6mo agoYep, you are right, more precise, and precision is very important in this topic. I stand corrected.