commit | 6e68763085b2a9003b3b5fab4ff6418a667124f2 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@chromium.org> | Tue Aug 31 12:38:50 2021 -0400 |
committer | Ben Wagner <bungeman@chromium.org> | Tue Aug 31 12:38:50 2021 -0400 |
tree | 140f8e3d4506517bae188af7716959568c8667db | |
parent | 57032f489b2cbe98c8e7927f4c18738869831f41 [diff] |
Add memory order constraints to C11 atomics Reduce the strength of the C11 atomics from memory_order_seq_cst to the actually required memory order constraints for each operation. In addition to reflecting the already documented memory order constraints, this should allow for better code generation.