Closed taiki-e closed 2 years ago
std's atomic types have the same in-memory representation as the underlying type.
https://doc.rust-lang.org/nightly/core/sync/atomic/struct.AtomicUsize.html
This type has the same in-memory representation as the underlying integer type, usize.
loom's atomic types have a different in-memory representation than the underlying type. (it is an index in the store)
std's atomic types have the same in-memory representation as the underlying type.
https://doc.rust-lang.org/nightly/core/sync/atomic/struct.AtomicUsize.html
loom's atomic types have a different in-memory representation than the underlying type. (it is an index in the store)