diff options
| author | Florian Weimer <fweimer@redhat.com> | 2021-05-10 10:31:41 +0200 |
|---|---|---|
| committer | Florian Weimer <fweimer@redhat.com> | 2021-05-10 10:31:41 +0200 |
| commit | 29d4d1be681fee2fa7cf23205b6d993a3b2a4566 (patch) | |
| tree | 323727f2eaec15bc660f8e17f4d7fe3413812d27 /include | |
| parent | 1c75f89613a0b2428c21c19598559a2d64221cde (diff) | |
| download | glibc-29d4d1be681fee2fa7cf23205b6d993a3b2a4566.tar.xz glibc-29d4d1be681fee2fa7cf23205b6d993a3b2a4566.zip | |
Linux: Simplify and fix the definition of SINGLE_THREAD_P
Always use __libc_multiple_threads if beneficial, and do not assume
the the dynamic loader is single-threaded. This assumption could
become incorrect by accident once more code is moved from libpthread
into it. The previous commit introducing the
NO_SYSCALL_CANCEL_CHECKING macro enables this change.
Do not hint to the compiler that multi-threaded programs are unlikely
(which is not quite true anymore).
Tested-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
