X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fjobs.c;fp=src%2Fjobs.c;h=f30904a827ec97b5c68a67e067a3bfb89503ac17;hb=418ba126a955ee38804152c6c905ff200bbc1a92;hp=abfe699edc984a4b312f0f365b776faaa885f854;hpb=bf7fe722bcfc23dfc38d5adc765eadc3316b70a2;p=src%2Fapp-framework-binder.git diff --git a/src/jobs.c b/src/jobs.c index abfe699e..f30904a8 100644 --- a/src/jobs.c +++ b/src/jobs.c @@ -17,12 +17,6 @@ #define _GNU_SOURCE -#if defined(NO_JOBS_WATCHDOG) -# define HAS_WATCHDOG 0 -#else -# define HAS_WATCHDOG 1 -#endif - #include #include #include @@ -36,9 +30,6 @@ #include #include -#if HAS_WATCHDOG -#include -#endif #include "jobs.h" #include "sig-monitor.h" @@ -890,12 +881,6 @@ int jobs_start(int allowed_count, int start_count, int waiter_count, void (*star running = 0; remains = waiter_count; -#if HAS_WATCHDOG - /* set the watchdog */ - if (sd_watchdog_enabled(0, NULL)) - sd_event_set_watchdog(get_sd_event_locked(), 1); -#endif - /* start at least one thread: the current one */ launched = 1; while (launched < start_count) {