Add port numbers to poll service thread names so that we can tell which belong to which HttpServer

This commit is contained in:
Justin Clark-Casey (justincc)
2013-06-10 23:39:17 +01:00
parent 32d1e50565
commit 7af97f88b7

View File

@@ -76,7 +76,7 @@ namespace OpenSim.Framework.Servers.HttpServer
m_workerThreads[i]
= Watchdog.StartThread(
PoolWorkerJob,
String.Format("PollServiceWorkerThread{0}", i),
string.Format("PollServiceWorkerThread{0}:{1}", i, m_server.Port),
ThreadPriority.Normal,
false,
false,
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Servers.HttpServer
m_retrysThread = Watchdog.StartThread(
this.CheckRetries,
"PollServiceWatcherThread",
string.Format("PollServiceWatcherThread:{0}", m_server.Port),
ThreadPriority.Normal,
false,
true,