summaryrefslogtreecommitdiffstats
path: root/source/cRoot.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-15 22:07:38 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-15 22:07:38 +0200
commit2c490d42292fe2214aca27109740409eb02e1d39 (patch)
tree690d6a0a4478e2ba99f8f5526789c4aa98905ac2 /source/cRoot.h
parentDisabled MSVC deprecation / security warnings for external libraries - we expect them to be secure enough (diff)
downloadcuberite-2c490d42292fe2214aca27109740409eb02e1d39.tar
cuberite-2c490d42292fe2214aca27109740409eb02e1d39.tar.gz
cuberite-2c490d42292fe2214aca27109740409eb02e1d39.tar.bz2
cuberite-2c490d42292fe2214aca27109740409eb02e1d39.tar.lz
cuberite-2c490d42292fe2214aca27109740409eb02e1d39.tar.xz
cuberite-2c490d42292fe2214aca27109740409eb02e1d39.tar.zst
cuberite-2c490d42292fe2214aca27109740409eb02e1d39.zip
Diffstat (limited to 'source/cRoot.h')
-rw-r--r--source/cRoot.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/cRoot.h b/source/cRoot.h
index 21bd39f7d..fc12d876c 100644
--- a/source/cRoot.h
+++ b/source/cRoot.h
@@ -78,6 +78,10 @@ private:
/// Starts each world's life
void StartWorlds(void);
+ /// Stops each world's threads, so that it's safe to unload them
+ void StopWorlds(void);
+
+ /// Unloads all worlds from memory
void UnloadWorlds(void);
cServer * m_Server;