logoalt Hacker News

loegyesterday at 3:12 PM1 replyview on HN

> 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.


Replies

blacklionyesterday at 3:59 PM

Yep, you are right, more precise, and precision is very important in this topic.

I stand corrected.