MCPcopy Create free account
hub / github.com/containerd/cgroups / AddThread

Method AddThread

cgroup2/manager.go:410–416  ·  view source on GitHub ↗
(tid uint64)

Source from the content-addressed store, hash-verified

408}
409
410func (c *Manager) AddThread(tid uint64) error {
411 v := Value{
412 filename: cgroupThreads,
413 value: tid,
414 }
415 return writeValues(c.path, []Value{v})
416}
417
418// Kill will try to forcibly exit all of the processes in the cgroup. This is
419// equivalent to sending a SIGKILL to every process. On kernels 5.14 and greater

Callers

nothing calls this directly

Calls 1

writeValuesFunction · 0.85

Tested by

no test coverage detected