From 752b590500cdfe8e60800c0553bf7ae3ac613ffd Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 25 Nov 2013 15:22:41 +0100 Subject: core: dispatch run queue only if there's nothing else to do Always read all external events before we decide what we do next. --- src/core/manager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/manager.h') diff --git a/src/core/manager.h b/src/core/manager.h index 9eddef20dc..a46b09eddd 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -97,6 +97,8 @@ struct Manager { Hashmap *watch_pids; /* pid => Unit object n:1 */ + sd_event_source *run_queue_event_source; + char *notify_socket; int notify_fd; sd_event_source *notify_event_source; @@ -192,7 +194,6 @@ struct Manager { ManagerExitCode exit_code:5; bool dispatching_load_queue:1; - bool dispatching_run_queue:1; bool dispatching_dbus_queue:1; bool taint_usr:1; -- cgit v1.2.3-54-g00ecf