diff options
author | Justin Clarke Casey | 2008-08-01 20:29:05 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-08-01 20:29:05 +0000 |
commit | e32c0930c240187331fe1d184162aa78aeb9c5df (patch) | |
tree | 62dd01a32392adc06274fe2147fa26e1e794e33c /OpenSim/Framework/Servers/BaseOpenSimServer.cs | |
parent | * minor: get rid of count number from 'show threads' display since they all h... (diff) | |
download | opensim-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
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 4 |
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> |