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/Communications/Cache | |
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 '')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 1 | ||||
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 1 |
2 files changed, 2 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 | } |