along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <libcgroup.h>
-
typedef struct CGroupBonding CGroupBonding;
#include "unit.h"
Unit *unit;
- struct cgroup *cgroup;
-
/* For the Unit::cgroup_bondings list */
LIST_FIELDS(CGroupBonding, by_unit);
/* When our tasks are the only ones in this group */
bool only_us:1;
+
+ /* This cgroup is realized */
+ bool realized:1;
};
int cgroup_bonding_realize(CGroupBonding *b);
#include "manager.h"
int manager_setup_cgroup(Manager *m);
-int manager_shutdown_cgroup(Manager *m, bool delete);
+int manager_shutdown_cgroup(Manager *m);
int cgroup_notify_empty(Manager *m, const char *group);