summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-07-31 16:49:10 +0200
committerMattes D <github@xoft.cz>2015-07-31 16:49:10 +0200
commit6e4122e551eeb41d3e950b363dd837d5586fe560 (patch)
treeb5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/DeadlockDetect.h
parentMerge pull request #2400 from cuberite/OffloadBadChunks (diff)
downloadcuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.gz
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.bz2
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.lz
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.xz
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.zst
cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.zip
Diffstat (limited to 'src/DeadlockDetect.h')
-rw-r--r--src/DeadlockDetect.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/DeadlockDetect.h b/src/DeadlockDetect.h
index 57027e923..3d8e49a6d 100644
--- a/src/DeadlockDetect.h
+++ b/src/DeadlockDetect.h
@@ -34,32 +34,32 @@ public:
protected:
struct sWorldAge
{
- /// Last m_WorldAge that has been detected in this world
+ /** Last m_WorldAge that has been detected in this world */
Int64 m_Age;
- /// Number of cycles for which the age has been the same
+ /** Number of cycles for which the age has been the same */
int m_NumCyclesSame;
} ;
- /// Maps world name -> sWorldAge
+ /** Maps world name -> sWorldAge */
typedef std::map<AString, sWorldAge> WorldAges;
WorldAges m_WorldAges;
- /// Number of secods for which the ages must be the same for the detection to trigger
+ /** 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;
- /// Sets the initial world age
+ /** Sets the initial world age */
void SetWorldAge(const AString & a_WorldName, Int64 a_Age);
- /// Checks if the world's age has changed, updates the world's stats; calls DeadlockDetected() if deadlock detected
+ /** Checks if the world's age has changed, updates the world's stats; calls DeadlockDetected() if deadlock detected */
void CheckWorldAge(const AString & a_WorldName, Int64 a_Age);
- /// Called when a deadlock is detected. Aborts the server.
+ /** Called when a deadlock is detected. Aborts the server. */
NORETURN void DeadlockDetected(void);
} ;