]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
python: Add python bindings for cgroup_attach_task*()
authorTom Hromatka <tom.hromatka@oracle.com>
Wed, 4 Jan 2023 21:06:45 +0000 (21:06 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 6 Jan 2023 15:28:48 +0000 (08:28 -0700)
commitfe20843a44141c3945d6abdcce1c0c46b316fc50
tree9192f9864ad146cde8c39dacdd6128b77442e028
parent08c6bc3677065ed50189bcdbd324480ef80a6f86
python: Add python bindings for cgroup_attach_task*()

Add python bindings for cgroup_attach_task() and
cgroup_attach_task_pid().  Add a convenience wrapper around them
in the Cgroup() class.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
src/python/cgroup.pxd
src/python/libcgroup.pyx