diff options
author | Mattes D <github@xoft.cz> | 2017-01-18 10:51:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-18 10:51:17 +0100 |
commit | 0256daa7ca98bab7482581dad39f66d570030874 (patch) | |
tree | de9232cbf239800ea1e7a71cf52086509a9472ea /src/Root.h | |
parent | Updated Github label links (#3543) (diff) | |
parent | DeadlockDetect now lists some tracked CS's stats. (diff) | |
download | cuberite-0256daa7ca98bab7482581dad39f66d570030874.tar cuberite-0256daa7ca98bab7482581dad39f66d570030874.tar.gz cuberite-0256daa7ca98bab7482581dad39f66d570030874.tar.bz2 cuberite-0256daa7ca98bab7482581dad39f66d570030874.tar.lz cuberite-0256daa7ca98bab7482581dad39f66d570030874.tar.xz cuberite-0256daa7ca98bab7482581dad39f66d570030874.tar.zst cuberite-0256daa7ca98bab7482581dad39f66d570030874.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Root.h b/src/Root.h index 722554332..10848ea3f 100644 --- a/src/Root.h +++ b/src/Root.h @@ -27,6 +27,7 @@ class cPlayer; class cCommandOutputCallback; class cCompositeChat; class cSettingsRepositoryInterface; +class cDeadlockDetect; typedef cItemCallback<cPlayer> cPlayerListCallback; typedef cItemCallback<cWorld> cWorldListCallback; @@ -226,10 +227,10 @@ private: void LoadWorlds(cSettingsRepositoryInterface & a_Settings, bool a_IsNewIniFile); /** Starts each world's life */ - void StartWorlds(void); + void StartWorlds(cDeadlockDetect & a_DeadlockDetect); /** Stops each world's threads, so that it's safe to unload them */ - void StopWorlds(void); + void StopWorlds(cDeadlockDetect & a_DeadlockDetect); /** Unloads all worlds from memory */ void UnloadWorlds(void); |