aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTom Grimshaw2010-05-11 09:28:46 -0700
committerTom Grimshaw2010-05-11 09:28:46 -0700
commit40e05f41098bdedac7296d84c9aa8d915c5c9ede (patch)
treefb3d9b3e3f1cd6e719521aa6eafa02c5381c8401
parentFix another ReaderWriterLockSlim issue (diff)
downloadopensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.zip
opensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.gz
opensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.bz2
opensim-SC-40e05f41098bdedac7296d84c9aa8d915c5c9ede.tar.xz
Spin the AddNewClient process off into a new thread to avoid locking up the LLUDPServer (and therefore the entire scene)
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index 41e41e4..d9aecd8 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -909,7 +909,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
909 client.OnLogout += LogoutHandler; 909 client.OnLogout += LogoutHandler;
910 910
911 // Start the IClientAPI 911 // Start the IClientAPI
912 client.Start(); 912 // Spin it off so that it doesn't clog up the LLUDPServer
913 Util.FireAndForget(delegate(object o) { client.Start(); });
913 } 914 }
914 else 915 else
915 { 916 {