diff options
author | Tedd Hansen | 2008-02-19 12:02:53 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-02-19 12:02:53 +0000 |
commit | 47c909ca0af6e39a55b38db74df49c7629b552b9 (patch) | |
tree | aba1d85ff2f447b69d02de84950ecd39baef0438 /OpenSim/Framework | |
parent | *rawfile fix. (diff) | |
download | opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.zip opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.tar.gz opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.tar.bz2 opensim-SC_OLD-47c909ca0af6e39a55b38db74df49c7629b552b9.tar.xz |
Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 1 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 1 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index effaa82..b793b62 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -143,6 +143,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
143 | 143 | ||
144 | 144 | ||
145 | m_assetCacheThread = new Thread(new ThreadStart(RunAssetManager)); | 145 | m_assetCacheThread = new Thread(new ThreadStart(RunAssetManager)); |
146 | m_assetCacheThread.Name = "AssetCacheThread"; | ||
146 | m_assetCacheThread.IsBackground = true; | 147 | m_assetCacheThread.IsBackground = true; |
147 | m_assetCacheThread.Start(); | 148 | m_assetCacheThread.Start(); |
148 | } | 149 | } |
diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index 6820027..9d9bc1e 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs | |||
@@ -97,6 +97,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
97 | m_assetRequests = new BlockingQueue<AssetRequest>(); | 97 | m_assetRequests = new BlockingQueue<AssetRequest>(); |
98 | 98 | ||
99 | m_localAssetServerThread = new Thread(RunRequests); | 99 | m_localAssetServerThread = new Thread(RunRequests); |
100 | m_localAssetServerThread.Name = "LocalAssetServerThread"; | ||
100 | m_localAssetServerThread.IsBackground = true; | 101 | m_localAssetServerThread.IsBackground = true; |
101 | m_localAssetServerThread.Start(); | 102 | m_localAssetServerThread.Start(); |
102 | } | 103 | } |
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 7f9e1a1..2966349 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -531,6 +531,7 @@ namespace OpenSim.Framework.Servers | |||
531 | m_log.Info("[HTTPD]: Starting up HTTP Server"); | 531 | m_log.Info("[HTTPD]: Starting up HTTP Server"); |
532 | 532 | ||
533 | m_workerThread = new Thread(new ThreadStart(StartHTTP)); | 533 | m_workerThread = new Thread(new ThreadStart(StartHTTP)); |
534 | m_workerThread.Name = "HttpThread"; | ||
534 | m_workerThread.IsBackground = true; | 535 | m_workerThread.IsBackground = true; |
535 | m_workerThread.Start(); | 536 | m_workerThread.Start(); |
536 | } | 537 | } |