The shorter notation you use defaults to
memory_order::seq_cst
, not relaxed
.
memory_order::seq_cst
, not relaxed
.