chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
manager: push back animation timer whenever a job finishes
[elogind.git]
/
src
/
core
/
manager.h
diff --git
a/src/core/manager.h
b/src/core/manager.h
index 0d0255289a4b9325da1a4365b6b367491ba7bc7d..c486a16887938045f560fe9b27a65f75eddc7c9e 100644
(file)
--- a/
src/core/manager.h
+++ b/
src/core/manager.h
@@
-61,7
+61,8
@@
enum WatchType {
WATCH_UDEV,
WATCH_DBUS_WATCH,
WATCH_DBUS_TIMEOUT,
WATCH_UDEV,
WATCH_DBUS_WATCH,
WATCH_DBUS_TIMEOUT,
- WATCH_TIME_CHANGE
+ WATCH_TIME_CHANGE,
+ WATCH_JOBS_IN_PROGRESS
};
struct Watch {
};
struct Watch {
@@
-127,6
+128,7
@@
struct Manager {
Watch notify_watch;
Watch signal_watch;
Watch time_change_watch;
Watch notify_watch;
Watch signal_watch;
Watch time_change_watch;
+ Watch jobs_in_progress_watch;
int epoll_fd;
int epoll_fd;
@@
-225,7
+227,10
@@
struct Manager {
unsigned n_installed_jobs;
unsigned n_failed_jobs;
unsigned n_installed_jobs;
unsigned n_failed_jobs;
+ /* Jobs in progress watching */
unsigned n_running_jobs;
unsigned n_running_jobs;
+ unsigned n_on_console;
+ unsigned jobs_in_progress_iteration;
/* Type=idle pipes */
int idle_pipe[2];
/* Type=idle pipes */
int idle_pipe[2];