diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-13 12:39:04 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-16 07:55:32 +0100 |
commit | 084e7706c25bf6cf0d6af4cc07fb1bb47e26b25e (patch) | |
tree | 6342559bdf40b149a28af634e9b3fd18f34d04f9 /src/basic/cgroup-util.h | |
parent | tests: allow running all the services with SYSTEMD_LOG_LEVEL (diff) | |
download | systemd-084e7706c25bf6cf0d6af4cc07fb1bb47e26b25e.tar.xz systemd-084e7706c25bf6cf0d6af4cc07fb1bb47e26b25e.zip |
cgroup-util: introduce cg_is_threaded()
Diffstat (limited to '')
-rw-r--r-- | src/basic/cgroup-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/cgroup-util.h b/src/basic/cgroup-util.h index 461c01b3c2..4c413a8d17 100644 --- a/src/basic/cgroup-util.h +++ b/src/basic/cgroup-util.h @@ -205,6 +205,8 @@ int cg_pid_get_path(const char *controller, pid_t pid, char **path); int cg_rmdir(const char *controller, const char *path); +int cg_is_threaded(const char *controller, const char *path); + typedef enum { CG_KEY_MODE_GRACEFUL = 1 << 0, } CGroupKeyMode; |