// ProcessGroup returns the ThreadGroup's ProcessGroup.
//
// A reference is not taken on the process group.
ProcessGroup returns the ThreadGroup's ProcessGroup.

A reference is not taken on the process group.
// ProcessGroup returns the ThreadGroup ' s ProcessGroup . // // A reference is not taken on the process group .
func (tg *ThreadGroup) ProcessGroup() *ProcessGroup {
	tg.pidns.owner.mu.RLock()
	defer tg.pidns.owner.mu.RUnlock()
	return tg.processGroup
}
func ( tg * ThreadGroup ) ProcessGroup ( ) * ProcessGroup { tg . pidns . owner . mu . RLock ( ) defer tg . pidns . owner . mu . RUnlock ( ) return tg . processGroup }
ProcessGroup returns the ThreadGroup's ProcessGroup.
ProcessGroup returns the ThreadGroup ' s ProcessGroup .