diff options
Diffstat (limited to '')
-rw-r--r-- | src/DeadlockDetect.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DeadlockDetect.h b/src/DeadlockDetect.h index 2559c3fff..cb2309169 100644 --- a/src/DeadlockDetect.h +++ b/src/DeadlockDetect.h @@ -29,7 +29,7 @@ public: cDeadlockDetect(void); /// Starts the detection. Hides cIsThread's Start, because we need some initialization - bool Start(void); + bool Start(int a_IntervalSec); protected: struct sWorldAge @@ -46,6 +46,9 @@ protected: WorldAges m_WorldAges; + /// Number of secods for which the ages must be the same for the detection to trigger + int m_IntervalSec; + // cIsThread overrides: virtual void Execute(void) override; |