mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
Reapply "Minecraft.World: C4JThread: Update Threader from Portable-LCE"
This reverts commit 6300671276.
This commit is contained in:
1 parent
e10f2859f4
commit
96a2beb04b
18 files changed
+843
-1369
No files matched your search
@@ -326,7 +326,6 @@ bool CGameNetworkManager::StartNetworkGame(Minecraft *minecraft, LPVOID lpParame
|
||||
thread->SetPriority(THREAD_PRIORITY_BELOW_NORMAL);
|
||||
#endif //__PS3__
|
||||
|
||||
thread->SetProcessor(CPU_CORE_SERVER);
|
||||
thread->Run();
|
||||
|
||||
ServerReadyWait();
|
||||
@@ -2154,7 +2153,7 @@ void CGameNetworkManager::ServerStoppedWait()
|
||||
// If this is called from the main thread, then this won't be ticking anything which can mean that the storage manager state can't progress.
|
||||
// This means that the server thread we are waiting on won't ever finish, as it might be locked waiting for this to complete itself.
|
||||
// Do some ticking here then if this is the case.
|
||||
if( C4JThread::isMainThread() )
|
||||
if( C4JThread::IsMainThread() )
|
||||
{
|
||||
int result = WAIT_TIMEOUT;
|
||||
do
|
||||
|
||||
Reference in new issue
Block a user