FreeBSD/sys/kern/sched_ule.c
/*
 * Return some of the child's priority and interactivity to the parent.
 */
Return some of the child's priority and interactivity to the parent.
Return some of the child ' s priority and interactivity to the parent .
void
sched_exit(struct proc *p, struct thread *child)
{
	struct thread *td;
	KTR_STATE1(KTR_SCHED, "thread", sched_tdname(child), "proc exit",
	    "prio:%d", child->td_priority);
	PROC_LOCK_ASSERT(p, MA_OWNED);
	td = FIRST_THREAD_IN_PROC(p);
	sched_exit_thread(td, child);
}
void sched_exit ( struct proc * p , struct thread * child ) { struct thread * td ; KTR_STATE1 ( KTR_SCHED , " " , sched_tdname ( child ) , " " , " " , child -> td_priority ) ; PROC_LOCK_ASSERT ( p , MA_OWNED ) ; td = FIRST_THREAD_IN_PROC ( p ) ; sched_exit_thread ( td , child ) ; }
Return some of the child's priority and interactivity to the parent.
Return some of the child ' s priority and interactivity to the parent .