diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/ChatModule.cs | 21 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Modules/TextureDownloadModule.cs | 1 |
2 files changed, 19 insertions, 3 deletions
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 | } |