mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9294d7f2af
cgroups.procs moves all the threads of the process, and "tasks" just the one thread. I believe there is a risk that we move the main thread, but then we accidentally fork off one of the other threads if the go scheduler randomly switched to another thread. So, it seems safer (and more correct) to use cgroups.procs. Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson) |
||
---|---|---|
.. | ||
apply_raw.go | ||
cgroups.go | ||
cgroups_test.go | ||
MAINTAINERS |