summaryrefslogtreecommitdiffstats
path: root/src/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/api.c b/src/api.c
index 41f6d3e..605137b 100644
--- a/src/api.c
+++ b/src/api.c
@@ -83,6 +83,9 @@ static pthread_rwlock_t rl_lock = PTHREAD_RWLOCK_INITIALIZER;
/* Namespace */
__thread char *cg_namespace_table[CG_CONTROLLER_MAX];
+pthread_rwlock_t cg_mount_table_lock = PTHREAD_RWLOCK_INITIALIZER;
+struct cg_mount_table_s cg_mount_table[CG_CONTROLLER_MAX];
+
const char const *cgroup_strerror_codes[] = {
"Cgroup is not compiled in",
"Cgroup is not mounted",