diff options
Diffstat (limited to 'linden/indra/newview/llwatchdog.h')
-rw-r--r-- | linden/indra/newview/llwatchdog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llwatchdog.h b/linden/indra/newview/llwatchdog.h index c1f2b94..d196486 100644 --- a/linden/indra/newview/llwatchdog.h +++ b/linden/indra/newview/llwatchdog.h | |||
@@ -48,6 +48,7 @@ public: | |||
48 | // This may mean that resources used by | 48 | // This may mean that resources used by |
49 | // isAlive and other method may need synchronization. | 49 | // isAlive and other method may need synchronization. |
50 | virtual bool isAlive() const = 0; | 50 | virtual bool isAlive() const = 0; |
51 | virtual void reset() = 0; | ||
51 | virtual void start(); | 52 | virtual void start(); |
52 | virtual void stop(); | 53 | virtual void stop(); |
53 | }; | 54 | }; |
@@ -59,6 +60,7 @@ public: | |||
59 | virtual ~LLWatchdogTimeout(); | 60 | virtual ~LLWatchdogTimeout(); |
60 | 61 | ||
61 | /* virtual */ bool isAlive() const; | 62 | /* virtual */ bool isAlive() const; |
63 | /* virtual */ void reset(); | ||
62 | /* virtual */ void start(const std::string& state); | 64 | /* virtual */ void start(const std::string& state); |
63 | /* virtual */ void stop(); | 65 | /* virtual */ void stop(); |
64 | 66 | ||
@@ -95,6 +97,7 @@ private: | |||
95 | SuspectsRegistry mSuspects; | 97 | SuspectsRegistry mSuspects; |
96 | LLMutex* mSuspectsAccessMutex; | 98 | LLMutex* mSuspectsAccessMutex; |
97 | LLWatchdogTimerThread* mTimer; | 99 | LLWatchdogTimerThread* mTimer; |
100 | U64 mLastClockCount; | ||
98 | }; | 101 | }; |
99 | 102 | ||
100 | #endif // LL_LLTHREADWATCHDOG_H | 103 | #endif // LL_LLTHREADWATCHDOG_H |