summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-30 15:57:39 -0700
committerGitHub <noreply@github.com>2016-06-30 15:57:39 -0700
commitb12cc5b0f80edea3faff644ad6b5c3e87d9d9940 (patch)
treef7b273d828cd4363ef2ab515c7ddf37b1a8af615 /src/core/unit.h
parent2cb623954f9df6bef85bca32933c75737ddc9a88 (diff)
parent36f20ae3b2975e44b6ef17e453ae06a289e9a122 (diff)
Merge pull request #3634 from disneyworldguy/v2sigchld
manager: Only invoke a single sigchld per unit within a cleanup cycle
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 08a927962d..c41011ed9d 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -162,6 +162,9 @@ struct Unit {
* process SIGCHLD for */
Set *pids;
+ /* Used in sigchld event invocation to avoid repeat events being invoked */
+ uint64_t sigchldgen;
+
/* Used during GC sweeps */
unsigned gc_marker;