]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
api.c: change cgroup of every thread of a process
authorNikola Forró <nforro@redhat.com>
Tue, 8 Dec 2015 16:09:08 +0000 (17:09 +0100)
committerJan Safranek <jsafrane@redhat.com>
Wed, 9 Dec 2015 13:22:00 +0000 (14:22 +0100)
commit2186c97f60df7efe86ddadd5e3d9d36dd4923b98
tree36e102751de5ac94017264464f51a6ef5565a7af
parent1bce3ab63968022e97599bbd73ec1a66aacf45bc
api.c: change cgroup of every thread of a process

When changing cgroup of multi-threaded process, only the main threads
cgroup actually changed. Now all threads of a process are enumerated
and cgroup is changed for each of them.
src/api.c