* Register main thread as console thread with thread tracker
parent
89898a2a6a
commit
e32c0930c2
|
@ -86,6 +86,10 @@ namespace OpenSim.Framework.Servers
|
||||||
|
|
||||||
m_periodicDiagnosticsTimer.Elapsed += new ElapsedEventHandler(LogDiagnostics);
|
m_periodicDiagnosticsTimer.Elapsed += new ElapsedEventHandler(LogDiagnostics);
|
||||||
m_periodicDiagnosticsTimer.Enabled = true;
|
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>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue