]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/unit.h
core: reduce the number of stalled PIDs from the watched processes list when possible
[thirdparty/systemd.git] / src / core / unit.h
index 35b936771c98bb4e95ccfa57e22d44f0d8242e77..28878b5f4f4e87d6ef21ff82e021770eb550757b 100644 (file)
@@ -678,7 +678,7 @@ typedef enum UnitNotifyFlags {
 
 void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, UnitNotifyFlags flags);
 
-int unit_watch_pid(Unit *u, pid_t pid);
+int unit_watch_pid(Unit *u, pid_t pid, bool exclusive);
 void unit_unwatch_pid(Unit *u, pid_t pid);
 void unit_unwatch_all_pids(Unit *u);