diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-25 15:22:41 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-25 17:40:53 +0100 |
commit | 752b590500cdfe8e60800c0553bf7ae3ac613ffd (patch) | |
tree | 5bced57233c5d92b7c684e2ed649dadf11594071 /src/core/manager.h | |
parent | 844de4355592259eebcffddfc38c63266e451cb6 (diff) |
core: dispatch run queue only if there's nothing else to do
Always read all external events before we decide what we do next.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |