summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.cpp
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-03-25 18:15:05 +0100
committerSamuel Barney <samjbarney@gmail.com>2014-03-25 18:15:05 +0100
commiteb3cc729d4e367c54a47369f712831908f8da22c (patch)
treeda9c4465d05d8ca734eaa5aa3ee71d7fb5ec4cd1 /src/DeadlockDetect.cpp
parentAdded one more missing newline. (diff)
downloadcuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar
cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.gz
cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.bz2
cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.lz
cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.xz
cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.tar.zst
cuberite-eb3cc729d4e367c54a47369f712831908f8da22c.zip
Diffstat (limited to 'src/DeadlockDetect.cpp')
-rw-r--r--src/DeadlockDetect.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DeadlockDetect.cpp b/src/DeadlockDetect.cpp
index 4dc7bfde6..8e1283bba 100644
--- a/src/DeadlockDetect.cpp
+++ b/src/DeadlockDetect.cpp
@@ -17,7 +17,9 @@
const int CYCLE_MILLISECONDS = 100;
/// When the number of cycles for the same world age hits this value, it is considered a deadlock
+#ifndef __APPLE__
const int NUM_CYCLES_LIMIT = 200; // 200 = twenty seconds
+#endif