glibc/signal
Adhemerval Zanella a1bdd81664 Refactor internal-signals.h
The main drive is to optimize the internal usage and required size
when sigset_t is embedded in other data structures.  On Linux, the
current supported signal set requires up to 8 bytes (16 on mips),
was lower than the user defined sigset_t (128 bytes).

A new internal type internal_sigset_t is added, along with the
functions to operate on it similar to the ones for sigset_t.  The
internal-signals.h is also refactored to remove unused functions

Besides small stack usage on some functions (posix_spawn, abort)
it lower the struct pthread by about 120 bytes (112 on mips).

Checked on x86_64-linux-gnu.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
2022-06-30 14:56:21 -03:00
..
bits/types
sys
allocrtsig.c
kill.c
killpg.c
libc_sigaction.c
Makefile
raise.c
sigaction.c Refactor internal-signals.h 2022-06-30 14:56:21 -03:00
sigaddset.c Refactor internal-signals.h 2022-06-30 14:56:21 -03:00
sigaltstack.c
sigandset.c
sigblock.c
sigdelset.c Refactor internal-signals.h 2022-06-30 14:56:21 -03:00
sigempty.c
sigfillset.c Refactor internal-signals.h 2022-06-30 14:56:21 -03:00
siggetmask.c
sighold.c
sigignore.c
sigintr.c
sigisempty.c
sigismem.c
signal.c
signal.h
sigorset.c
sigpause.c
sigpending.c
sigprocmask.c
sigqueue.c
sigrelse.c
sigreturn.c
sigset.c
sigsetmask.c
sigsetops.c
sigstack.c
sigsuspend.c
sigtimedwait.c
sigvec.c
sigwait.c
sigwaitinfo.c
sysv_signal.c
tst-minsigstksz-1.c
tst-minsigstksz-2.c
tst-minsigstksz-3.c
tst-minsigstksz-3a.c
tst-minsigstksz-4.c
tst-minsigstksz-5.c
tst-raise.c
tst-sigaction.c
tst-sigisemptyset.c
tst-signal.c
tst-sigset2.c
tst-sigset.c
tst-sigsimple.c
tst-sigwait-eintr.c
Versions