agent/taskresource/cgroup/cgroup.go
func (cgroup *CgroupResource) KnownCreated() bool {
	cgroup.lock.RLock()
	defer cgroup.lock.RUnlock()

	return cgroup.knownStatusUnsafe == resourcestatus.ResourceStatus(CgroupCreated)
}
func (cgroup *CgroupResource) KnownCreated() bool {
	cgroup.lock.RLock()
	defer cgroup.lock.RUnlock()

	return cgroup.knownStatusUnsafe == resourcestatus.ResourceStatus(CgroupCreated)
}
func ( cgroup * CgroupResource ) KnownCreated ( ) bool { cgroup . lock . RLock ( ) defer cgroup . lock . RUnlock ( ) return cgroup . knownStatusUnsafe == resourcestatus . ResourceStatus ( CgroupCreated ) }
// KnownCreated returns true if the cgroup's known status is CREATED
KnownCreated returns true if the cgroup s known status is CREATED