// SessionWithID returns the Session with the given ID in the PID namespace ns,
// or nil if that given ID is not defined in this namespace.
//
// A reference is not taken on the session.
SessionWithID returns the Session with the given ID in the PID namespace ns,
or nil if that given ID is not defined in this namespace.

A reference is not taken on the session.
// SessionWithID returns the Session with the given ID in the PID namespace ns // or nil if that given ID is not defined in this namespace . // // A reference is not taken on the session .
func (ns *PIDNamespace) SessionWithID(id SessionID) *Session {
	ns.owner.mu.RLock()
	defer ns.owner.mu.RUnlock()
	return ns.sessions[id]
}
func ( ns * PIDNamespace ) SessionWithID ( id SessionID ) * Session { ns . owner . mu . RLock ( ) defer ns . owner . mu . RUnlock ( ) return ns . sessions [ id ] }
SessionWithID returns the Session with the given ID in the PID namespace ns,
or nil if that given ID is not defined in this namespace.
SessionWithID returns the Session with the given ID in the PID namespace ns or nil if that given ID is not defined in this namespace .