diff options
author | Mattes D <github@xoft.cz> | 2017-01-17 22:38:04 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-01-18 09:03:05 +0100 |
commit | 7cc3fb098df221f083da1d81d2327a0a5f22edf5 (patch) | |
tree | de9232cbf239800ea1e7a71cf52086509a9472ea /src/Root.h | |
parent | Debuggers: Added a deadlock simulation command. (diff) | |
download | cuberite-7cc3fb098df221f083da1d81d2327a0a5f22edf5.tar cuberite-7cc3fb098df221f083da1d81d2327a0a5f22edf5.tar.gz cuberite-7cc3fb098df221f083da1d81d2327a0a5f22edf5.tar.bz2 cuberite-7cc3fb098df221f083da1d81d2327a0a5f22edf5.tar.lz cuberite-7cc3fb098df221f083da1d81d2327a0a5f22edf5.tar.xz cuberite-7cc3fb098df221f083da1d81d2327a0a5f22edf5.tar.zst cuberite-7cc3fb098df221f083da1d81d2327a0a5f22edf5.zip |
Diffstat (limited to 'src/Root.h')
-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); |