aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-08-01 20:29:05 +0000
committerJustin Clarke Casey2008-08-01 20:29:05 +0000
commite32c0930c240187331fe1d184162aa78aeb9c5df (patch)
tree62dd01a32392adc06274fe2147fa26e1e794e33c
parent* minor: get rid of count number from 'show threads' display since they all h... (diff)
downloadopensim-SC_OLD-e32c0930c240187331fe1d184162aa78aeb9c5df.zip
opensim-SC_OLD-e32c0930c240187331fe1d184162aa78aeb9c5df.tar.gz
opensim-SC_OLD-e32c0930c240187331fe1d184162aa78aeb9c5df.tar.bz2
opensim-SC_OLD-e32c0930c240187331fe1d184162aa78aeb9c5df.tar.xz
* Register main thread as console thread with thread tracker
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 376d945..4634bf0 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -86,6 +86,10 @@ namespace OpenSim.Framework.Servers
86 86
87 m_periodicDiagnosticsTimer.Elapsed += new ElapsedEventHandler(LogDiagnostics); 87 m_periodicDiagnosticsTimer.Elapsed += new ElapsedEventHandler(LogDiagnostics);
88 m_periodicDiagnosticsTimer.Enabled = true; 88 m_periodicDiagnosticsTimer.Enabled = true;
89
90 // Add ourselves to thread monitoring. This thread will go on to become the console listening thread
91 Thread.CurrentThread.Name = "ConsoleThread";
92 ThreadTracker.Add(Thread.CurrentThread);
89 } 93 }
90 94
91 /// <summary> 95 /// <summary>