Commit Graph

3 Commits

Author SHA1 Message Date
Rob Kennedy
471ca00a64 Make atomics work on 32-bit systems
On 32-bit systems, `atomic` requires its 64-bit arguments to have 64-bit
alignment, but the compiler doesn't help ensure that's the case. In this
commit, fields that don't need to hold large numbers have been converted
to 32-bit types, which are always aligned correctly on all platforms.
For fields that may hold large numeric values, padding has been added to
get the necessary alignment, and tests have been added to avoid
regressions.
2022-01-25 00:22:26 -06:00
Mochi
bec9401213 Fix test races 2020-02-12 21:15:15 +00:00
Mochi
b6184987e8 Restructures code 2019-12-31 15:02:16 +00:00