Fix Build-Depends in debian/control
[senf.git] / Scheduler / FIFORunner.hh
index 11ab3ee..39e2e3a 100644 (file)
@@ -99,8 +99,13 @@ namespace detail {
 
         void taskTimeout(unsigned ms);
         unsigned taskTimeout() const;
+        void abortOnTimeout(bool flag);
+        bool abortOnTimeout() const;
 
-        unsigned hangCount() const;
+        void startWatchdog();
+        void stopWatchdog();
+
+        unsigned hangCount();
 
         iterator begin() const;
         iterator end() const;
@@ -132,7 +137,9 @@ namespace detail {
         NullTask highPriorityEnd_;
         
         timer_t watchdogId_;
+        bool watchdogRunning_;
         unsigned watchdogMs_;
+        bool watchdogAbort_;
         std::string runningName_;
 #   ifdef SENF_DEBUG
         std::string runningBacktrace_;