Closed yaoyinnan closed 1 year ago
@Tim-Zhang @liubin I fixed add_task()
. In cgroup v2, it is only allowed to write to cgroup.threads
when cgroup type is threaded
or domain threaded
. At other times, an error message prompts that the method is called in the wrong cgroup mode
.
Determine the cgroup mode in add_task() to avoid the wrong operation of the caller writing threads to cgroup.threads in non-thread mode.
Fixes: #103
Signed-off-by: yaoyinnan yaoyinnan@foxmail.com