chiark / gitweb /
core: unify call we use to synthesize cgroup empty events when we stopped watching...
authorLennart Poettering <lennart@poettering.net>
Fri, 12 Jan 2018 12:06:48 +0000 (13:06 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:15 +0000 (07:50 +0200)
commitf4a6a30ae524a0402c7839cef74385bacdeafec9
tree8a555e5599f3746831afda210b51fd9404b8670a
parent8a493df450829eeaacac46243ecfcc99a40e3755
core: unify call we use to synthesize cgroup empty events when we stopped watching any unit PIDs

This code is very similar in scope and service units, let's unify it in
one function. This changes little for service units, but for scope units
makes sure we go through the cgroup queue, which is something we should
do anyway.
src/core/cgroup.c
src/core/cgroup.h