code: func (cgroup *CgroupResource) GetDesiredStatus() resourcestatus.ResourceStatus {
  	cgroup.lock.RLock()
  	defer cgroup.lock.RUnlock()
  
  	return cgroup.desiredStatusUnsafe
  }
docs: // GetDesiredStatus safely returns the desired status of the task