Scheduler: Remove empty TimerFDTimerSource (will be added again later)
[senf.git] / Scheduler / FIFORunner.hh
index 11ab3ee..0573d9a 100644 (file)
@@ -100,7 +100,10 @@ namespace detail {
         void taskTimeout(unsigned ms);
         unsigned taskTimeout() const;
 
-        unsigned hangCount() const;
+        void startWatchdog();
+        void stopWatchdog();
+
+        unsigned hangCount();
 
         iterator begin() const;
         iterator end() const;
@@ -132,6 +135,7 @@ namespace detail {
         NullTask highPriorityEnd_;
         
         timer_t watchdogId_;
+        bool watchdogRunning_;
         unsigned watchdogMs_;
         std::string runningName_;
 #   ifdef SENF_DEBUG