glibc/sysdeps
Florian Weimer 526c3cf11e nptl: Fix race between pthread_kill and thread exit (bug 12889)
A new thread exit lock and flag are introduced.  They are used to
detect that the thread is about to exit or has exited in
__pthread_kill_internal, and the signal is not sent in this case.

The test sysdeps/pthread/tst-pthread_cancel-select-loop.c is derived
from a downstream test originally written by Marek Polacek.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021-09-13 11:06:08 +02:00
..
aarch64 Revert "AArch64: Update A64FX memset not to degrade at 16KB" 2021-09-06 10:23:25 +01:00
alpha Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
arc Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
arm Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
csky Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
generic Add narrowing square root functions 2021-09-10 20:56:22 +00:00
gnu Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
hppa Update hppa libm-test-ulps 2021-09-06 17:37:29 +00:00
htl Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
hurd
i386 Add narrowing square root functions 2021-09-10 20:56:22 +00:00
ia64 Add narrowing square root functions 2021-09-10 20:56:22 +00:00
ieee754 Add narrowing square root functions 2021-09-10 20:56:22 +00:00
m68k Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
mach Add narrowing square root functions 2021-09-10 20:56:22 +00:00
microblaze Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
mips Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
nios2 Remove sysdeps/*/tls-macros.h 2021-08-18 09:15:20 -07:00
nptl Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
posix Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
powerpc Add narrowing square root functions 2021-09-10 20:56:22 +00:00
pthread nptl: Fix race between pthread_kill and thread exit (bug 12889) 2021-09-13 11:06:08 +02:00
riscv riscv: Drop reliance on _GLOBAL_OFFSET_TABLE_[0] 2021-08-18 10:01:31 -07:00
s390 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
sh Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
sparc Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
unix Add narrowing square root functions 2021-09-10 20:56:22 +00:00
wordsize-32
wordsize-64 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
x86 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30
x86_64 Remove "Contributed by" lines 2021-09-03 22:06:44 +05:30