SMB_THREAD_STATE_EXITED
sv->sv_proc_state = SMB_THREAD_STATE_EXITED;
if (sv->sv_proc_state != SMB_THREAD_STATE_EXITED) {
sv->sv_proc_state = SMB_THREAD_STATE_EXITED;
thread->sth_state = SMB_THREAD_STATE_EXITED;
ASSERT(thread->sth_state == SMB_THREAD_STATE_EXITED);
if (sth->sth_state != SMB_THREAD_STATE_EXITED) {
thread->sth_state = SMB_THREAD_STATE_EXITED;
while (thread->sth_state != SMB_THREAD_STATE_EXITED)
thread->sth_state = SMB_THREAD_STATE_EXITED;
case SMB_THREAD_STATE_EXITED: