1
0

Each world now ticks in a separate thread.

This commit is contained in:
madmaxoft
2013-08-11 20:16:41 +02:00
parent c59d80a2af
commit 4c5590636c
8 changed files with 135 additions and 112 deletions

View File

@@ -84,6 +84,15 @@ bool cWorldStorage::Start(cWorld * a_World, const AString & a_StorageSchemaName)
void cWorldStorage::Stop(void)
{
WaitForFinish();
}
void cWorldStorage::WaitForFinish(void)
{
LOG("Waiting for the world storage to finish saving");