X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FFIFORunner.hh;h=39e2e3a6a8801d4ce5a163aa4df6347395008b84;hb=92f8630b75f3ef50e73c48cde58645dcd1534e27;hp=27b626f876acb6d62a47312fc72b50d7a395223d;hpb=3c3f12e715cd474208351347316f59fdaf19ef81;p=senf.git diff --git a/Scheduler/FIFORunner.hh b/Scheduler/FIFORunner.hh index 27b626f..39e2e3a 100644 --- a/Scheduler/FIFORunner.hh +++ b/Scheduler/FIFORunner.hh @@ -99,11 +99,13 @@ namespace detail { void taskTimeout(unsigned ms); unsigned taskTimeout() const; + void abortOnTimeout(bool flag); + bool abortOnTimeout() const; void startWatchdog(); void stopWatchdog(); - unsigned hangCount() const; + unsigned hangCount(); iterator begin() const; iterator end() const; @@ -137,6 +139,7 @@ namespace detail { timer_t watchdogId_; bool watchdogRunning_; unsigned watchdogMs_; + bool watchdogAbort_; std::string runningName_; # ifdef SENF_DEBUG std::string runningBacktrace_;