some unimportant clean-ups ;)
[senf.git] / Scheduler / FIFORunner.hh
index 27b626f..39e2e3a 100644 (file)
@@ -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_;