glibc/sysdeps/unix/sysv/linux/aarch64
Florian Weimer 706ad1e7af Add the __libc_single_threaded variable
The variable is placed in libc.so, and it can be true only in
an outer libc, not libcs loaded via dlmopen or static dlopen.
Since thread creation from inner namespaces does not work,
pthread_create can update __libc_single_threaded directly.

Using __libc_early_init and its initial flag, implementation of this
variable is very straightforward.  A future version may reset the flag
during fork (but not in an inner namespace), or after joining all
threads except one.

Reviewed-by: DJ Delorie <dj@redhat.com>
2020-07-06 11:15:58 +02:00
..
bits Linux: Perform rseq registration at C startup and thread creation 2020-07-06 10:21:16 +02:00
sys
Implies
Makefile
Versions
__read_tp.S
arch-syscall.h Update syscall lists for Linux 5.6. 2020-04-03 18:07:55 +00:00
c++-types.data
clone.S
configure
configure.ac
cpu-features.c
cpu-features.h
dl-cache.h
dl-procinfo.c
dl-procinfo.h
dl-static.c
getcontext.S
gettimeofday.c
ioctl.S
jmp_buf-macros.h
kernel-features.h
kernel_rt_sigframe.h
ld.abilist ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
ldconfig.h
ldsodefs.h
libBrokenLocale.abilist
libanl.abilist
libc-__read_tp.S
libc-start.c
libc.abilist Add the __libc_single_threaded variable 2020-07-06 11:15:58 +02:00
libcrypt.abilist
libdl.abilist
libm.abilist New exp10f version without SVID compat wrapper 2020-06-19 12:08:47 -03:00
libnsl.abilist
libpthread.abilist nptl: Move pthread_gettattr_np into libc 2020-05-20 20:27:49 +02:00
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
localplt.data aarch64: Accept PLT calls to __getauxval within libc.so 2020-05-12 12:51:10 +02:00
makecontext.c
readelflib.c
setcontext.S
shlib-versions
sigaction.c
sigcontextinfo.h
swapcontext.S
syscall.S
sysconf.c
sysdep.c
sysdep.h linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
ucontext-internal.h
ucontext_i.sym
vfork.S