AddTask adds a process to the cgroup (tasks). Without additional arguments, the task is added to all the cgroup subsystems. When giving AddTask a list of subsystem names, the task is only added to those subsystems, provided that they are active in the targeted cgroup.
(Process, ...Name)
| 70 | // names, the task is only added to those subsystems, provided that they are active in |
| 71 | // the targeted cgroup. |
| 72 | AddTask(Process, ...Name) error |
| 73 | // Delete removes the cgroup as a whole |
| 74 | Delete() error |
| 75 | // MoveTo moves all the processes under the calling cgroup to the provided one |
no outgoing calls