View Source alcove_cgroup (alcove v1.0.0)
Summary
Functions
-spec create(alcove_drv:ref(), [alcove:pid_t()]) -> ok.
-spec create(alcove_drv:ref(), [alcove:pid_t()], [file:name_all()]) -> ok.
-spec destroy(alcove_drv:ref(), [alcove:pid_t()]) -> [ok | {error, file:posix()}].
-spec destroy(alcove_drv:ref(), [alcove:pid_t()], [file:name_all()]) -> [ok | {error, file:posix()}].
-spec get(alcove_drv:ref(), [alcove:pid_t()], binary(), [binary()], string() | binary()) -> {ok, binary()}.
-spec set(alcove_drv:ref(), [alcove:pid_t()], binary(), [binary()], string() | binary(), string() | binary()) -> ok | {error, file:posix()}.
-spec supported(alcove_drv:ref(), [alcove:pid_t()]) -> boolean().