X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FFIFORunner.hh;h=39e2e3a6a8801d4ce5a163aa4df6347395008b84;hb=532240d72e09e19e57fac9bb55c2560b9c9e5b97;hp=0573d9a97c8cbd5adf659c1efc83b643df883886;hpb=b5d7667a0ee87f023a74df607b582b976241dcf7;p=senf.git diff --git a/Scheduler/FIFORunner.hh b/Scheduler/FIFORunner.hh index 0573d9a..39e2e3a 100644 --- a/Scheduler/FIFORunner.hh +++ b/Scheduler/FIFORunner.hh @@ -99,6 +99,8 @@ namespace detail { void taskTimeout(unsigned ms); unsigned taskTimeout() const; + void abortOnTimeout(bool flag); + bool abortOnTimeout() const; void startWatchdog(); void stopWatchdog(); @@ -137,6 +139,7 @@ namespace detail { timer_t watchdogId_; bool watchdogRunning_; unsigned watchdogMs_; + bool watchdogAbort_; std::string runningName_; # ifdef SENF_DEBUG std::string runningBacktrace_;