glibc/sysdeps/unix/sysv/linux/mips/mips32
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
..
fpu Add the __libc_single_threaded variable 2020-07-06 11:15:58 +02:00
mips16 mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
nofpu Add the __libc_single_threaded variable 2020-07-06 11:15:58 +02:00
arch-syscall.h Update syscall lists for Linux 5.6. 2020-04-03 18:07:55 +00:00
bug-getcontext-mips-gp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
c++-types.data MIPS: Consolidate nptl/ subdirectories under linux/... 2014-06-27 11:41:04 -07:00
fxstatat.c Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
ld.abilist ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist New exp10f version without SVID compat wrapper 2020-06-19 12:08:47 -03:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist nptl: Move pthread_gettattr_np into libc 2020-05-20 20:27:49 +02:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
librt.abilist Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
Makefile MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00
mips-syscall5.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
mips-syscall6.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
mips-syscall7.S mips: Use 'long int' and 'long long int' in linux syscall code 2020-02-12 22:13:24 +00:00
syscalls.list Move mips from ports to libc. 2014-02-10 23:30:21 +00:00
sysdep.h linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
Versions MIPS/o32: Fix internal_syscall5/6/7 2017-08-29 18:31:08 +01:00