diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index e879e7636f..8f8558d367 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -2055,6 +2055,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP private void IncomingPacketHandler() { + Thread.CurrentThread.Priority = ThreadPriority.Highest; + // Set this culture for the thread that incoming packets are received // on to en-US to avoid number parsing issues Culture.SetCurrentCulture(); @@ -2100,6 +2102,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP private 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/ClientStack/Linden/UDP/OutgoingQueueRefillEngine.cs b/OpenSim/Region/ClientStack/Linden/UDP/OutgoingQueueRefillEngine.cs index 069c9c8162..2ec17334b1 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/OutgoingQueueRefillEngine.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/OutgoingQueueRefillEngine.cs @@ -217,6 +217,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP private void ProcessRequests() { + Thread.CurrentThread.Priority = ThreadPriority.Highest; + try { while (IsRunning || m_requestQueue.Count > 0)