示例#1
0
文件: cgroup.cpp 项目: noxiouz/porto
bool TFreezerSubsystem::IsParentFreezing(TCgroup &cg) const {
    bool val;
    return !cg.GetBool("freezer.parent_freezing", val) && val;
}
示例#2
0
文件: cgroup.cpp 项目: noxiouz/porto
bool TFreezerSubsystem::IsSelfFreezing(TCgroup &cg) const {
    bool val;
    return !cg.GetBool("freezer.self_freezing", val) && val;
}