summaryrefslogtreecommitdiffstats
path: root/src/DeadlockDetect.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 23:33:24 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-30 00:36:15 +0200
commit222d9957a1a566464d6a824caaf9a56539eb3234 (patch)
treec4bd9041e07a61c6f1a1eaaf70838e26fafae82e /src/DeadlockDetect.h
parentDo an early check for empty network buffers (#5172) (diff)
downloadcuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.gz
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.bz2
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.lz
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.xz
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.tar.zst
cuberite-222d9957a1a566464d6a824caaf9a56539eb3234.zip
Diffstat (limited to '')
-rw-r--r--src/DeadlockDetect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DeadlockDetect.h b/src/DeadlockDetect.h
index a2ec1823f..98ce13df3 100644
--- a/src/DeadlockDetect.h
+++ b/src/DeadlockDetect.h
@@ -31,7 +31,7 @@ public:
virtual ~cDeadlockDetect() override;
/** Starts the detection. Hides cIsThread's Start, because we need some initialization */
- bool Start(int a_IntervalSec);
+ void Start(int a_IntervalSec);
/** Adds the critical section for tracking.
Tracked CSs are listed, together with ownership details, when a deadlock is detected.