mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
8c86ba4463
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. |
||
---|---|---|
.. | ||
bits | ||
Implies | ||
pt-block-intr.c | ||
pt-block.c | ||
pt-spin.c | ||
pt-stack-alloc.c | ||
pt-thread-alloc.c | ||
pt-thread-start.c | ||
pt-thread-terminate.c | ||
pt-timedblock-intr.c | ||
pt-timedblock.c | ||
pt-wakeup.c | ||
thrd_yield.c |