about summary refs log tree commit diff
path: root/manual/examples/argp-ex1.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2022-09-22 15:27:20 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2022-09-23 15:59:56 +0100
commit8114b95cef10a5a1fc3e529ab8b3a75f56fe889a (patch)
tree3c9a41560970946fdb2db5808bfa35518e5abd50 /manual/examples/argp-ex1.c
parent774d43f27dbc730ee4b8b37bce4d5b3d5c0b74b6 (diff)
downloadglibc-8114b95cef10a5a1fc3e529ab8b3a75f56fe889a.tar.gz
glibc-8114b95cef10a5a1fc3e529ab8b3a75f56fe889a.tar.xz
glibc-8114b95cef10a5a1fc3e529ab8b3a75f56fe889a.zip
Use C11 atomics instead of atomic_and/or
Remove the 4 uses of atomic_and and atomic_or with atomic_fetch_and_acquire
and atomic_fetch_or_acquire. This is preserves existing implied semantics,
however relaxed MO on FUTEX_OWNER_DIED accesses may be correct.

Passes regress on AArch64.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'manual/examples/argp-ex1.c')
0 files changed, 0 insertions, 0 deletions