chiark / gitweb /
core: dispatch run queue only if there's nothing else to do
[elogind.git] / src / core / manager.h
index 9eddef20dc1165401f886384678c0a77a97fcdb8..a46b09eddd8af068922208aaf805291055186758 100644 (file)
@@ -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;