Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/kern_proc.c
Show First 20 Lines • Show All 244 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
/* Free all OSD associated to this thread. */ | /* Free all OSD associated to this thread. */ | ||||
osd_thread_exit(td); | osd_thread_exit(td); | ||||
ast_kclear(td); | ast_kclear(td); | ||||
/* Make sure all thread destructors are executed */ | /* Make sure all thread destructors are executed */ | ||||
EVENTHANDLER_DIRECT_INVOKE(thread_dtor, td); | EVENTHANDLER_DIRECT_INVOKE(thread_dtor, td); | ||||
} | } | ||||
osd_proc_exit(p); | |||||
EVENTHANDLER_DIRECT_INVOKE(process_dtor, p); | EVENTHANDLER_DIRECT_INVOKE(process_dtor, p); | ||||
#ifdef KDTRACE_HOOKS | #ifdef KDTRACE_HOOKS | ||||
kdtrace_proc_dtor(p); | kdtrace_proc_dtor(p); | ||||
#endif | #endif | ||||
if (p->p_ksi != NULL) | if (p->p_ksi != NULL) | ||||
KASSERT(! KSI_ONQ(p->p_ksi), ("SIGCHLD queue")); | KASSERT(! KSI_ONQ(p->p_ksi), ("SIGCHLD queue")); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 3,361 Lines • Show Last 20 Lines |