Previously, all operations were relaxed except for the
atomic_compare_exchange call, which was implicitly acquire (but did not
compile anymore because of the changes in commit
3ef766adda).
In addition to making MemMapFuchsia compile again, this CL selects
memory_order values that better express the intent of the code.
Reviewed By: Chia-hungDuan
Differential Revision: https://reviews.llvm.org/D157097
7.8 KiB
7.8 KiB