diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 9757d35edc..6e3132289e 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -2183,6 +2183,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(); @@ -2228,6 +2230,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)