Application must initialize
libcgroup using cgroup_init() before any other
libcgroup function can be called.
libcgroup caches information about mounted hierarchies (just what's mounted where, not the control groups themselves) at this time. There is currently no way to refresh this cache, i.e. all subsequent mounts/remounts/unmounts are not reflected in this cache and
libcgroup may produce unexpected results.
In addition, there is no way how to clean the cache on application exit.
- this is very bad... There should be at least way how to refresh the cache and/or an option to refresh it automatically (does kernel provide any indication, when a filesystem is mounted/unmounted?). Dtto the cleanup on exit.