Thaw thaws out the cgroup and all the processes inside it
()
| 447 | |
| 448 | // Thaw thaws out the cgroup and all the processes inside it |
| 449 | func (c *cgroup) Thaw() error { |
| 450 | c.mu.Lock() |
| 451 | defer c.mu.Unlock() |
| 452 | if c.err != nil { |
| 453 | return c.err |
| 454 | } |
| 455 | s := c.getSubsystem(Freezer) |
| 456 | if s == nil { |
| 457 | return ErrFreezerNotSupported |
| 458 | } |
| 459 | sp, err := c.path(Freezer) |
| 460 | if err != nil { |
| 461 | return err |
| 462 | } |
| 463 | return s.(*freezerController).Thaw(sp) |
| 464 | } |
| 465 | |
| 466 | // OOMEventFD returns the memory cgroup's out of memory event fd that triggers |
| 467 | // when processes inside the cgroup receive an oom event. Returns |
nothing calls this directly
no test coverage detected