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
@@ -116,8 +116,7 @@ Connection::Connection(Socket *socket, const wstring& id, PacketListener *packet
|
||||
|
||||
readThread = new C4JThread(runRead, static_cast<void *>(this), readThreadName, READ_STACK_SIZE);
|
||||
writeThread = new C4JThread(runWrite, this, writeThreadName, WRITE_STACK_SIZE);
|
||||
readThread->SetProcessor(CPU_CORE_CONNECTIONS);
|
||||
writeThread->SetProcessor(CPU_CORE_CONNECTIONS );
|
||||
|
||||
#ifdef __ORBIS__
|
||||
readThread->SetPriority(THREAD_PRIORITY_BELOW_NORMAL); // On Orbis, this core is also used for Matching 2, and that priority of that seems to be always at default no matter what we set it to. Prioritise this below Matching 2.
|
||||
writeThread->SetPriority(THREAD_PRIORITY_BELOW_NORMAL); // On Orbis, this core is also used for Matching 2, and that priority of that seems to be always at default no matter what we set it to. Prioritise this below Matching 2.
|
||||
|
||||
Reference in new issue
Block a user