glibc/sysdeps/mach/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
..
bits Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
Implies
pt-block-intr.c htl: Make sem_wait/sem_timedwait interruptible 2020-02-10 01:03:54 +00:00
pt-block.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-spin.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-stack-alloc.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-thread-alloc.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-thread-start.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-thread-terminate.c htl: Fix cleaning the reply port 2022-01-22 02:17:19 +01:00
pt-timedblock-intr.c htl: Make sem_wait/sem_timedwait interruptible 2020-02-10 01:03:54 +00:00
pt-timedblock.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
pt-wakeup.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
thrd_yield.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00