// IDOfProcessGroup returns the process group assigned to pg in PID namespace ns.
//
// The same constraints apply as IDOfSession.
IDOfProcessGroup returns the process group assigned to pg in PID namespace ns.

The same constraints apply as IDOfSession.
// IDOfProcessGroup returns the process group assigned to pg in PID namespace ns . // // The same constraints apply as IDOfSession .
func (ns *PIDNamespace) IDOfProcessGroup(pg *ProcessGroup) ProcessGroupID {
	ns.owner.mu.RLock()
	defer ns.owner.mu.RUnlock()
	return ns.pgids[pg]
}
func ( ns * PIDNamespace ) IDOfProcessGroup ( pg * ProcessGroup ) ProcessGroupID { ns . owner . mu . RLock ( ) defer ns . owner . mu . RUnlock ( ) return ns . pgids [ pg ] }
IDOfProcessGroup returns the process group assigned to pg in PID namespace ns.
IDOfProcessGroup returns the process group assigned to pg in PID namespace ns .