* Register main thread as console thread with thread tracker

0.6.0-stable
Justin Clarke Casey 2008-08-01 20:29:05 +00:00
parent 89898a2a6a
commit e32c0930c2
1 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,10 @@ namespace OpenSim.Framework.Servers
m_periodicDiagnosticsTimer.Elapsed += new ElapsedEventHandler(LogDiagnostics);
m_periodicDiagnosticsTimer.Enabled = true;
// Add ourselves to thread monitoring. This thread will go on to become the console listening thread
Thread.CurrentThread.Name = "ConsoleThread";
ThreadTracker.Add(Thread.CurrentThread);
}
/// <summary>