summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2017-01-17 14:10:02 +0100
committerMattes D <github@xoft.cz>2017-01-17 18:35:12 +0100
commita52de8e8cd67259e328f4a30b12916169406718b (patch)
tree18e617b9428afa6f4f0e3fa5958c703a275629bb /src/DeadlockDetect.h
parentUpdated Github label links (#3543) (diff)
downloadcuberite-a52de8e8cd67259e328f4a30b12916169406718b.tar
cuberite-a52de8e8cd67259e328f4a30b12916169406718b.tar.gz
cuberite-a52de8e8cd67259e328f4a30b12916169406718b.tar.bz2
cuberite-a52de8e8cd67259e328f4a30b12916169406718b.tar.lz
cuberite-a52de8e8cd67259e328f4a30b12916169406718b.tar.xz
cuberite-a52de8e8cd67259e328f4a30b12916169406718b.tar.zst
cuberite-a52de8e8cd67259e328f4a30b12916169406718b.zip
Diffstat (limited to '')
-rw-r--r--src/DeadlockDetect.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/DeadlockDetect.h b/src/DeadlockDetect.h
index 39d3f8691..ee97fd6f7 100644
--- a/src/DeadlockDetect.h
+++ b/src/DeadlockDetect.h
@@ -59,8 +59,10 @@ protected:
/** 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. */
- NORETURN void DeadlockDetected(void);
+ /** Called when a deadlock is detected in a world. Aborts the server.
+ a_WorldName is the name of the world whose age has triggered the detection.
+ a_WorldAge is the age (in ticks) in which the world is stuck. */
+ NORETURN void DeadlockDetected(const AString & a_WorldName, Int64 a_WorldAge);
} ;