diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 4 |
1 files changed, 4 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(); |