Use C11 atomics instead of atomic_decrement(_val)
authorWilco Dijkstra <wdijkstr@arm.com>
Fri, 9 Sep 2022 13:22:26 +0000 (14:22 +0100)
committerWilco Dijkstra <wdijkstr@arm.com>
Fri, 9 Sep 2022 13:22:26 +0000 (14:22 +0100)
commita364a3a7090b82ddd30e9209df2af56e781d51e4
tree90412a565deeeb7aef54205159c0422af71771c9
parent53b251c9ff03ab59ba58fcddb9dc97c69f25fadc
Use C11 atomics instead of atomic_decrement(_val)

Replace atomic_decrement and atomic_decrement_val with
atomic_fetch_add_relaxed.

Reviewed-by: DJ Delorie <dj@redhat.com>
15 files changed:
htl/pt-create.c
malloc/malloc.c
manual/ipc.texi
manual/llio.texi
nptl/nptl_setxid.c
nptl/pthread_create.c
nscd/nscd-client.h
nscd/nscd_getai.c
nscd/nscd_getgr_r.c
nscd/nscd_gethst_r.c
nscd/nscd_getpw_r.c
nscd/nscd_getserv_r.c
nscd/nscd_helper.c
nscd/nscd_initgroups.c
nscd/nscd_netgroup.c