TD_DEATH
case TD_DEATH:
curthread->event_buf.event = TD_DEATH;
if (SHOULD_REPORT_EVENT(curthread, TD_DEATH))