aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwatchdog.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:54 -0500
committerJacek Antonelli2008-08-15 23:45:54 -0500
commitd0b03a62fd799317d5da0bd56615739ce3b5b052 (patch)
tree8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/llwatchdog.h
parentSecond Life viewer sources 1.20.8 (diff)
downloadmeta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2
meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz
Second Life viewer sources 1.20.9
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llwatchdog.h3
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