diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-11-16 16:07:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-11-16 17:01:46 +0100 |
commit | 15ea79f85c3a9b174b6ba14cc9a0f5f482ca1553 (patch) | |
tree | bc5a6512fa28dc94ac3364e2180b655c3798b7c4 /src/core/dbus-job.h | |
parent | system-run: add support for configuring unit dependencies with --property= (diff) | |
download | systemd-15ea79f85c3a9b174b6ba14cc9a0f5f482ca1553.tar.xz systemd-15ea79f85c3a9b174b6ba14cc9a0f5f482ca1553.zip |
core: add bus calls for determining jobs waiting for other jobs
This should make it easier to debug job deadlocks.
Diffstat (limited to 'src/core/dbus-job.h')
-rw-r--r-- | src/core/dbus-job.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/dbus-job.h b/src/core/dbus-job.h index f9148895be..a4366a0720 100644 --- a/src/core/dbus-job.h +++ b/src/core/dbus-job.h @@ -26,6 +26,7 @@ extern const sd_bus_vtable bus_job_vtable[]; int bus_job_method_cancel(sd_bus_message *message, void *job, sd_bus_error *error); +int bus_job_method_get_waiting_jobs(sd_bus_message *message, void *userdata, sd_bus_error *error); void bus_job_send_change_signal(Job *j); void bus_job_send_removed_signal(Job *j); |