aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs5
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs1
-rw-r--r--OpenSim/Region/Environment/Modules/ChatModule.cs21
-rw-r--r--OpenSim/Region/Environment/Modules/TextureDownloadModule.cs1
4 files changed, 22 insertions, 6 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index bc271dc..c59106f 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -181,7 +181,7 @@ namespace OpenSim
181 config.Set("storage_prim_inventories", true); 181 config.Set("storage_prim_inventories", true);
182 config.Set("startup_console_commands_file", String.Empty); 182 config.Set("startup_console_commands_file", String.Empty);
183 config.Set("shutdown_console_commands_file", String.Empty); 183 config.Set("shutdown_console_commands_file", String.Empty);
184 config.Set("script_engine", ""); 184 config.Set("script_engine", "OpenSim.Region.ScriptEngine.DotNetEngine.dll");
185 config.Set("asset_database", "sqlite"); 185 config.Set("asset_database", "sqlite");
186 } 186 }
187 187
@@ -264,8 +264,7 @@ namespace OpenSim
264 m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", String.Empty); 264 m_startupCommandsFile = startupConfig.GetString("startup_console_commands_file", String.Empty);
265 m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty); 265 m_shutdownCommandsFile = startupConfig.GetString("shutdown_console_commands_file", String.Empty);
266 266
267 m_scriptEngine = startupConfig.GetString("script_engine", ""); 267 m_scriptEngine = startupConfig.GetString("script_engine", "OpenSim.Region.ScriptEngine.DotNetEngine.dll");
268
269 m_assetStorage = startupConfig.GetString("asset_database", "sqlite"); 268 m_assetStorage = startupConfig.GetString("asset_database", "sqlite");
270 269
271 m_timedScript = startupConfig.GetString("timer_Script", "disabled"); 270 m_timedScript = startupConfig.GetString("timer_Script", "disabled");
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index 388a502..dfdc777 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -225,6 +225,7 @@ namespace OpenSim.Region.ClientStack
225 RegisterLocalPacketHandlers(); 225 RegisterLocalPacketHandlers();
226 226
227 m_clientThread = new Thread(new ThreadStart(AuthUser)); 227 m_clientThread = new Thread(new ThreadStart(AuthUser));
228 m_clientThread.Name = "ClientThread";
228 m_clientThread.IsBackground = true; 229 m_clientThread.IsBackground = true;
229 m_clientThread.Start(); 230 m_clientThread.Start();
230 } 231 }
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs
index a34bd96..c6aae73 100644
--- a/OpenSim/Region/Environment/Modules/ChatModule.cs
+++ b/OpenSim/Region/Environment/Modules/ChatModule.cs
@@ -92,7 +92,11 @@ namespace OpenSim.Region.Environment.Modules
92 92
93 // setup IRC Relay 93 // setup IRC Relay
94 if (m_irc == null) { m_irc = new IRCChatModule(config); } 94 if (m_irc == null) { m_irc = new IRCChatModule(config); }
95 if (m_irc_connector == null) { m_irc_connector = new Thread(IRCConnectRun); } 95 if (m_irc_connector == null) {
96 m_irc_connector = new Thread(IRCConnectRun);
97 m_irc_connector.Name = "IRCConnectorThread";
98 m_irc_connector.IsBackground = true;
99 }
96 100
97 } 101 }
98 } 102 }
@@ -104,7 +108,11 @@ namespace OpenSim.Region.Environment.Modules
104 try 108 try
105 { 109 {
106 //m_irc.Connect(m_scenes); 110 //m_irc.Connect(m_scenes);
107 if (m_irc_connector == null) { m_irc_connector = new Thread(IRCConnectRun); } 111 if (m_irc_connector == null) {
112 m_irc_connector = new Thread(IRCConnectRun);
113 m_irc_connector.Name = "IRCConnectorThread";
114 m_irc_connector.IsBackground = true;
115 }
108 if (!m_irc_connector.IsAlive) { m_irc_connector.Start(); } 116 if (!m_irc_connector.IsAlive) { m_irc_connector.Start(); }
109 } 117 }
110 catch (Exception ex) 118 catch (Exception ex)
@@ -248,7 +256,10 @@ namespace OpenSim.Region.Environment.Modules
248 // In a non-blocking way. Eventually the connector will get it started 256 // In a non-blocking way. Eventually the connector will get it started
249 try 257 try
250 { 258 {
251 if (m_irc_connector == null) { m_irc_connector = new Thread(IRCConnectRun); } 259 if (m_irc_connector == null) { m_irc_connector = new Thread(IRCConnectRun);
260 m_irc_connector.Name = "IRCConnectorThread";
261 m_irc_connector.IsBackground = true;
262 }
252 if (!m_irc_connector.IsAlive) { m_irc_connector.Start(); } 263 if (!m_irc_connector.IsAlive) { m_irc_connector.Start(); }
253 } 264 }
254 catch (Exception ex) 265 catch (Exception ex)
@@ -407,9 +418,13 @@ namespace OpenSim.Region.Environment.Modules
407 m_writer = new StreamWriter(m_stream); 418 m_writer = new StreamWriter(m_stream);
408 419
409 pingSender = new Thread(new ThreadStart(PingRun)); 420 pingSender = new Thread(new ThreadStart(PingRun));
421 pingSender.Name = "PingSenderThread";
422 pingSender.IsBackground = true;
410 pingSender.Start(); 423 pingSender.Start();
411 424
412 listener = new Thread(new ThreadStart(ListenerRun)); 425 listener = new Thread(new ThreadStart(ListenerRun));
426 listener.Name = "IRCChatModuleListenerThread";
427 listener.IsBackground = true;
413 listener.Start(); 428 listener.Start();
414 429
415 m_writer.WriteLine(m_user); 430 m_writer.WriteLine(m_user);
diff --git a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs
index cf558e0..ff2d418 100644
--- a/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs
+++ b/OpenSim/Region/Environment/Modules/TextureDownloadModule.cs
@@ -66,6 +66,7 @@ namespace OpenSim.Region.Environment.Modules
66 { 66 {
67 //Console.WriteLine("Creating Texture download module"); 67 //Console.WriteLine("Creating Texture download module");
68 m_thread = new Thread(new ThreadStart(ProcessTextureSenders)); 68 m_thread = new Thread(new ThreadStart(ProcessTextureSenders));
69 m_thread.Name = "ProcessTextureSenderThread";
69 m_thread.IsBackground = true; 70 m_thread.IsBackground = true;
70 m_thread.Start(); 71 m_thread.Start();
71 } 72 }