PS_DEAD
if (thread->state != PS_DEAD) {
if (thread->state != PS_DEAD) {
new_thread->state = PS_DEAD;
if (pthread->state == PS_DEAD)
curthread->state = PS_DEAD;
if (thread->state != PS_DEAD) {
if (thread->state != PS_DEAD) {
while ((state = pthread->state) != PS_DEAD) {
if ((thread->refcount == 0) && thread->state == PS_DEAD &&
if (include_dead == 0 && pthread->state == PS_DEAD) {
if (curthread->state == PS_DEAD)
while (thread->state != PS_DEAD &&
if (thread->state != PS_DEAD &&
int _thread_state_zoombie = PS_DEAD;