PS_DEAD
if (phdl->status == PS_DEAD || phdl->status == PS_UNDEAD ||
if (phdl->status == PS_DEAD || phdl->status == PS_UNDEAD ||
if (phdl->status == PS_DEAD || phdl->status == PS_UNDEAD ||
if (phdl->status == PS_DEAD || phdl->status == PS_UNDEAD ||
if (pthread->state != PS_DEAD)
new_thread->state = PS_DEAD;
curthread->state = PS_DEAD;
if (thread->state != PS_DEAD)
if (thread->state != PS_DEAD) {
if (include_dead == 0 && pthread->state == PS_DEAD) {
((thrd)->refcount == 0 && (thrd)->state == PS_DEAD && \
if (curthread->state == PS_DEAD)
if (thread->state != PS_DEAD &&
while (thread->state != PS_DEAD &&
int _thread_state_zoombie = PS_DEAD;