mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug.
This commit is contained in:
@@ -143,6 +143,7 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
|
||||
|
||||
m_assetCacheThread = new Thread(new ThreadStart(RunAssetManager));
|
||||
m_assetCacheThread.Name = "AssetCacheThread";
|
||||
m_assetCacheThread.IsBackground = true;
|
||||
m_assetCacheThread.Start();
|
||||
}
|
||||
|
||||
@@ -97,6 +97,7 @@ namespace OpenSim.Framework.Communications.Cache
|
||||
m_assetRequests = new BlockingQueue<AssetRequest>();
|
||||
|
||||
m_localAssetServerThread = new Thread(RunRequests);
|
||||
m_localAssetServerThread.Name = "LocalAssetServerThread";
|
||||
m_localAssetServerThread.IsBackground = true;
|
||||
m_localAssetServerThread.Start();
|
||||
}
|
||||
|
||||
@@ -531,6 +531,7 @@ namespace OpenSim.Framework.Servers
|
||||
m_log.Info("[HTTPD]: Starting up HTTP Server");
|
||||
|
||||
m_workerThread = new Thread(new ThreadStart(StartHTTP));
|
||||
m_workerThread.Name = "HttpThread";
|
||||
m_workerThread.IsBackground = true;
|
||||
m_workerThread.Start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user