Make event loops able to be run in another thread

This commit is contained in:
KimLS
2019-03-29 18:39:17 -07:00
parent 566f743a88
commit 21a39db1c6
16 changed files with 82 additions and 29 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ int main(int argc, char** argv) {
UpdateWindowTitle(window_title);
}
EQ::EventLoop::Get().Process();
EQ::EventLoop::GetDefault().Process();
Sleep(5);
}
Log(Logs::General, Logs::World_Server, "World main loop completed.");