diff options
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/OutgoingQueueRefillEngine.cs | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 9757d35..6e31322 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 | |||
2183 | 2183 | ||
2184 | private void IncomingPacketHandler() | 2184 | private void IncomingPacketHandler() |
2185 | { | 2185 | { |
2186 | Thread.CurrentThread.Priority = ThreadPriority.Highest; | ||
2187 | |||
2186 | // Set this culture for the thread that incoming packets are received | 2188 | // Set this culture for the thread that incoming packets are received |
2187 | // on to en-US to avoid number parsing issues | 2189 | // on to en-US to avoid number parsing issues |
2188 | Culture.SetCurrentCulture(); | 2190 | Culture.SetCurrentCulture(); |
@@ -2228,6 +2230,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
2228 | 2230 | ||
2229 | private void OutgoingPacketHandler() | 2231 | private void OutgoingPacketHandler() |
2230 | { | 2232 | { |
2233 | Thread.CurrentThread.Priority = ThreadPriority.Highest; | ||
2234 | |||
2231 | // Set this culture for the thread that outgoing packets are sent | 2235 | // Set this culture for the thread that outgoing packets are sent |
2232 | // on to en-US to avoid number parsing issues | 2236 | // on to en-US to avoid number parsing issues |
2233 | Culture.SetCurrentCulture(); | 2237 | Culture.SetCurrentCulture(); |
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OutgoingQueueRefillEngine.cs b/OpenSim/Region/ClientStack/Linden/UDP/OutgoingQueueRefillEngine.cs index 069c9c8..2ec1733 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 | |||
217 | 217 | ||
218 | private void ProcessRequests() | 218 | private void ProcessRequests() |
219 | { | 219 | { |
220 | Thread.CurrentThread.Priority = ThreadPriority.Highest; | ||
221 | |||
220 | try | 222 | try |
221 | { | 223 | { |
222 | while (IsRunning || m_requestQueue.Count > 0) | 224 | while (IsRunning || m_requestQueue.Count > 0) |