From cf33e0440a3cca2e6a4b164f513d0300916e86cb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 28 Oct 2018 14:43:14 +0000 Subject: reduce some threads priority --- OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 3 --- OpenSim/Region/PhysicsModules/BulletS/BSScene.cs | 1 - 2 files changed, 4 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 552c51e..38545bc 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -2009,7 +2009,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP protected void IncomingPacketHandler() { - Thread.CurrentThread.Priority = ThreadPriority.Highest; IncomingPacket incomingPacket; // Set this culture for the thread that incoming packets are received // on to en-US to avoid number parsing issues @@ -2051,8 +2050,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP protected void OutgoingPacketHandler() { - Thread.CurrentThread.Priority = ThreadPriority.Highest; - // Set this culture for the thread that outgoing packets are sent // on to en-US to avoid number parsing issues Culture.SetCurrentCulture(); diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs b/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs index fde7840..a53e2bc 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSScene.cs @@ -907,7 +907,6 @@ namespace OpenSim.Region.PhysicsModule.BulletS public void BulletSPluginPhysicsThread() { - Thread.CurrentThread.Priority = ThreadPriority.Highest; m_updateWaitEvent = new ManualResetEvent(false); while (m_initialized) -- cgit v1.1