glibc/htl
Wilco Dijkstra 4a07fbb689 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>
2022-09-23 15:59:56 +01:00
..
tests Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Versions htl: Move thread table to ld.so 2021-09-16 01:04:05 +02:00
alloca_cutoff.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cancellation.c htl: Let pthread_self and cancellability called early 2022-08-02 00:00:03 +02:00
configure hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
configure.in hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
cthreads-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
forward.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
herrno.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
htlfreeres.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
libc_pthread_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
libpthread.a htl: Fix linking static tests by factorizing the symbols list 2020-06-10 21:34:19 +00:00
libpthread_pic.a htl: Fix linking static tests by factorizing the symbols list 2020-06-10 21:34:19 +00:00
libpthread_syms.a hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
lockfile.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-alloc.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-cancel.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-cleanup.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-create.c Use C11 atomics instead of atomic_increment(_val) 2022-09-23 15:59:56 +01:00
pt-dealloc.c Use C11 atomics instead of atomic_decrement_and_test 2022-09-23 15:59:56 +01:00
pt-detach.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-exit.c Use C11 atomics instead of atomic_decrement_and_test 2022-09-23 15:59:56 +01:00
pt-getattr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-initialize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-internal.h htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-join.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-self.c htl: Let pthread_self and cancellability called early 2022-08-02 00:00:03 +02:00
pt-setcancelstate.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-setcanceltype.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-sigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-spin-inlines.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-testcancel.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-yield.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
semaphoreP.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
shlib-versions hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00