From 79bb09eac54d91bf76268baa50ecebea1ab19708 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 14 May 2020 16:20:27 +0200 Subject: Revert handling of wait type service to using state Signed-off-by: David Oberhollenzer --- initd/init.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'initd/init.h') diff --git a/initd/init.h b/initd/init.h index 1a9f35a..61101c7 100644 --- a/initd/init.h +++ b/initd/init.h @@ -61,6 +61,12 @@ void config_set_target(int tgt); /* Ask whether we should respawn services in the current target */ bool config_should_respawn(void); +/* refuse to dequeue further services until this one terminates */ +void config_set_waiting(svc_run_data_t *rt); + +/* are we currently waiting for a service to terminate? */ +bool config_is_waiting(void); + /********** print_status.c **********/ void print_status(const svc_run_data_t *rt); -- cgit v1.2.3