// parentPG returns the parent process group.
//
// Precondition: callers must hold TaskSet.mu.
parentPG returns the parent process group.

callers must hold TaskSet.mu.
// parentPG returns the parent process group . // // Precondition : callers must hold TaskSet . mu .
func (tg *ThreadGroup) parentPG() *ProcessGroup {
	if tg.leader.parent != nil {
		return tg.leader.parent.tg.processGroup
	}
	return nil
}
func ( tg * ThreadGroup ) parentPG ( ) * ProcessGroup { if tg . leader . parent != nil { return tg . leader . parent . tg . processGroup } return nil }
parentPG returns the parent process group.
parentPG returns the parent process group .