]> git.feebdaed.xyz Git - 0xmirror/glibc.git/commit
nptl: Remove INVALID_TD_P
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 11 Dec 2025 20:47:20 +0000 (17:47 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 19 Dec 2025 16:23:06 +0000 (13:23 -0300)
commitf7648bf44384118b6658ddcd741408fc4fbdd056
treecb5952f9c6160f16c57de6ff9c7bfaf576941c81
parent5da15b15adab661c80e373b6af89be0b5fa5b3ad
nptl: Remove INVALID_TD_P

And use the new __pthread_descriptor_valid function that checks
for 'joinstate' to get the thread state instead of 'tid'.  The
joinstate is set by the kernel when the thread exits.

Checked on x86_64-linux-gnu.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
nptl/pthread_getcpuclockid.c
nptl/pthread_getschedparam.c
nptl/pthread_setschedparam.c
nptl/pthread_setschedprio.c
sysdeps/nptl/pthreadP.h
sysdeps/pthread/Makefile
sysdeps/pthread/tst-pthread-exited.c [new file with mode: 0644]