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
configure.in
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
libpthread_syms.a
libpthread.a
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
Versions