summaryrefslogtreecommitdiff
path: root/manual/llio.texi
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2022-09-22 15:40:37 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2022-09-23 15:59:56 +0100
commit4a07fbb689eeec30e7d71a0d144c26e0d1e424ac (patch)
tree85d53e165fb64b144ce9ac3018cd90afdd70bf4f /manual/llio.texi
parentd1babeb32de5dae8893c640bd925357b218d846c (diff)
downloadglibc-4a07fbb689eeec30e7d71a0d144c26e0d1e424ac.tar.gz
Use C11 atomics instead of atomic_decrement_and_test
Replace atomic_decrement_and_test with atomic_fetch_add_relaxed. These are simple counters which do not protect any shared data from concurrent accesses. Also remove the unused file cond-perf.c. Passes regress on AArch64. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'manual/llio.texi')
-rw-r--r--manual/llio.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/llio.texi b/manual/llio.texi
index 79cf4c1670..85201a4bdc 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -2614,7 +2614,7 @@ aiocb64}, since the LFS transparently replaces the old interface.
@c free @ascuheap @acsmem
@c libc_thread_freeres
@c libc_thread_subfreeres ok
-@c atomic_decrement_and_test ok
+@c atomic_fetch_add_relaxed ok
@c td_eventword ok
@c td_eventmask ok
@c atomic_compare_exchange_bool_acq ok