glibc/htl
Samuel Thibault 8c86ba4463 htl: Fix cleaning the reply port
If any RPC fails, the reply port will already be deallocated.
__pthread_thread_terminate thus has to defer taking its name until the very last
__thread_terminate_release which doesn't reply a message.  But then we
have to read from the pthread structure.

This introduces __pthread_dealloc_finish() which does the recording of
the thread termination, so the slot can be reused really only just before
the __thread_terminate_release call. Only the real thread can set it, so
let's decouple this from the pthread_state by just removing the
PTHREAD_TERMINATED state and add a terminated field.
2022-01-22 02:17:19 +01:00
..
tests Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
alloca_cutoff.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cancellation.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
configure hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
configure.in hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
cthreads-compat.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
forward.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
herrno.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
htlfreeres.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
libc_pthread_init.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
libpthread_pic.a htl: Fix linking static tests by factorizing the symbols list 2020-06-10 21:34:19 +00:00
libpthread_syms.a hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
libpthread.a htl: Fix linking static tests by factorizing the symbols list 2020-06-10 21:34:19 +00:00
lockfile.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-alloc.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-cancel.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-cleanup.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-create.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-dealloc.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-detach.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-exit.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-getattr.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-initialize.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-internal.h htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-join.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-self.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-setcancelstate.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-setcanceltype.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-sigmask.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-spin-inlines.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-testcancel.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-yield.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
semaphoreP.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
shlib-versions hurd: Add hurd thread library 2018-04-02 01:44:14 +02:00
Versions htl: Move thread table to ld.so 2021-09-16 01:04:05 +02:00