Closed
Description
The documentation for compiler_fence
with SeqCst
say "no re-ordering of reads and writes across this point is allowed". As I understand it, SeqCst
for a single thread doesn't give anything more than AcqRel
. E.g., a store before the fence could be moved past a load after then fence. Is that correct?